mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-18 20:10:53 +00:00
Fixed Nagle algorithm as reported by Bob Grice.
This commit is contained in:
parent
8a31c6f807
commit
729da3c873
@ -56,6 +56,9 @@ HISTORY
|
|||||||
|
|
||||||
++ Bug fixes:
|
++ Bug fixes:
|
||||||
|
|
||||||
|
2006-10-10 Christiaan Simons
|
||||||
|
* api_msg.c: Fixed Nagle algorithm as reported by Bob Grice.
|
||||||
|
|
||||||
2006-08-17 Christiaan Simons
|
2006-08-17 Christiaan Simons
|
||||||
* udp.c: Fixed bug #17200, added check for broadcast
|
* udp.c: Fixed bug #17200, added check for broadcast
|
||||||
destinations for PCBs bound to a unicast address.
|
destinations for PCBs bound to a unicast address.
|
||||||
|
@ -719,8 +719,10 @@ do_write(struct api_msg_msg *msg)
|
|||||||
segments when new outgoing data arrives from the user if any
|
segments when new outgoing data arrives from the user if any
|
||||||
previously transmitted data on the connection remains
|
previously transmitted data on the connection remains
|
||||||
unacknowledged. */
|
unacknowledged. */
|
||||||
if(err == ERR_OK && (msg->conn->pcb.tcp->unacked == NULL || (msg->conn->pcb.tcp->flags & TF_NODELAY)) ) {
|
if(err == ERR_OK && (msg->conn->pcb.tcp->unacked == NULL ||
|
||||||
tcp_output(msg->conn->pcb.tcp);
|
(msg->conn->pcb.tcp->flags & TF_NODELAY) ||
|
||||||
|
(msg->conn->pcb.tcp->snd_queuelen) > 1)) {
|
||||||
|
tcp_output(msg->conn->pcb.tcp);
|
||||||
}
|
}
|
||||||
msg->conn->err = err;
|
msg->conn->err = err;
|
||||||
if (msg->conn->callback)
|
if (msg->conn->callback)
|
||||||
|
Loading…
Reference in New Issue
Block a user