mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-30 21:32:46 +00:00
Fixed bug #20287: Fixed nagle algorithm (sending was done too early if a segment contained chained pbufs)
This commit is contained in:
parent
ab4c3a326f
commit
24e29cecae
@ -238,6 +238,10 @@ HISTORY
|
|||||||
|
|
||||||
++ Bug fixes:
|
++ Bug fixes:
|
||||||
|
|
||||||
|
2007-06-28 Simon Goldschmidt
|
||||||
|
* tcp.h: Fixed bug #20287: Fixed nagle algorithm (sending was done too early if
|
||||||
|
a segment contained chained pbufs)
|
||||||
|
|
||||||
2007-06-28 Frédéric Bernon
|
2007-06-28 Frédéric Bernon
|
||||||
* autoip.c: replace most of rand() calls by a macro LWIP_AUTOIP_RAND which compute
|
* autoip.c: replace most of rand() calls by a macro LWIP_AUTOIP_RAND which compute
|
||||||
a "pseudo-random" value based on netif's MAC and some autoip fields. It's always
|
a "pseudo-random" value based on netif's MAC and some autoip fields. It's always
|
||||||
|
@ -119,7 +119,7 @@ void tcp_rexmit_rto (struct tcp_pcb *pcb);
|
|||||||
*/
|
*/
|
||||||
#define tcp_output_nagle(tpcb) ((((tpcb)->unacked == NULL) || \
|
#define tcp_output_nagle(tpcb) ((((tpcb)->unacked == NULL) || \
|
||||||
((tpcb)->flags & TF_NODELAY) || \
|
((tpcb)->flags & TF_NODELAY) || \
|
||||||
((tpcb)->snd_queuelen > 1)) ? \
|
(((tpcb)->unsent != NULL) && ((tpcb)->unsent->next != NULL))) ? \
|
||||||
tcp_output(tpcb) : ERR_OK)
|
tcp_output(tpcb) : ERR_OK)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user