mirror of
https://github.com/apache/nuttx.git
synced 2026-05-13 02:18:38 +08:00
Back out part of write buffering change. David G reports that this causes problems connecting to a server
This commit is contained in:
@@ -6581,4 +6581,7 @@
|
||||
the SAM4L Xplained Pro configuration (2014-2-12).
|
||||
* arch/arm/src/stm32/stm32_serial.c: Fix cloned type: FLOWCONTROL
|
||||
vs FLOWCONROL (2014-2-14).
|
||||
* net/uip/uip_tcptimer.c: Back out a small part of the 6.33 write
|
||||
buffering changed. David G says that this causes problems in
|
||||
connecting to a server (2014-2-15).
|
||||
|
||||
|
||||
@@ -134,8 +134,7 @@ void uip_tcptimer(struct uip_driver_s *dev, struct uip_conn *conn, int hsec)
|
||||
* retransmit.
|
||||
*/
|
||||
|
||||
if (conn->unacked > 0 &&
|
||||
(conn->tcpstateflags & UIP_TS_MASK) == UIP_ESTABLISHED)
|
||||
if (conn->unacked > 0)
|
||||
{
|
||||
/* The connection has outstanding data */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user