Browse Source

fixed bug #38219 Assert on TCP netconn_write with sndtimeout set

STABLE-2_1_x
goldsimon 12 years ago
parent
commit
aecbce283d
  1. 3
      CHANGELOG
  2. 1
      src/api/api_msg.c

3
CHANGELOG

@ -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

1
src/api/api_msg.c

@ -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…
Cancel
Save