mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-01 04:12:07 +00:00
fixed bug #38219 Assert on TCP netconn_write with sndtimeout set
This commit is contained in:
parent
b8d798158b
commit
aecbce283d
@ -127,6 +127,9 @@ HISTORY
|
|||||||
|
|
||||||
++ Bugfixes:
|
++ Bugfixes:
|
||||||
|
|
||||||
|
2014-10-21: Simon Goldschmidt
|
||||||
|
* api_msg.c: fixed bug #38219 Assert on TCP netconn_write with sndtimeout set
|
||||||
|
|
||||||
2014-09-16: Kevin Cernekee
|
2014-09-16: Kevin Cernekee
|
||||||
* dns.c: patch #8480 Fix handling of dns_seqno wraparound
|
* dns.c: patch #8480 Fix handling of dns_seqno wraparound
|
||||||
|
|
||||||
|
@ -1266,6 +1266,7 @@ lwip_netconn_do_writemore(struct netconn *conn)
|
|||||||
/* partial write */
|
/* partial write */
|
||||||
err = ERR_OK;
|
err = ERR_OK;
|
||||||
conn->current_msg->msg.w.len = conn->write_offset;
|
conn->current_msg->msg.w.len = conn->write_offset;
|
||||||
|
conn->write_offset = 0;
|
||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
#endif /* LWIP_SO_SNDTIMEO */
|
#endif /* LWIP_SO_SNDTIMEO */
|
||||||
|
Loading…
Reference in New Issue
Block a user