fixed bug #38219 Assert on TCP netconn_write with sndtimeout set
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user