fixed bug #38219 Assert on TCP netconn_write with sndtimeout set

This commit is contained in:
goldsimon 2014-10-21 11:09:07 +02:00
parent b8d798158b
commit aecbce283d
2 changed files with 4 additions and 0 deletions

View File

@ -127,6 +127,9 @@ HISTORY
++ 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
* dns.c: patch #8480 Fix handling of dns_seqno wraparound

View File

@ -1266,6 +1266,7 @@ lwip_netconn_do_writemore(struct netconn *conn)
/* partial write */
err = ERR_OK;
conn->current_msg->msg.w.len = conn->write_offset;
conn->write_offset = 0;
}
} else
#endif /* LWIP_SO_SNDTIMEO */