[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Httpd server in contrib
From: |
Simon Goldschmidt |
Subject: |
Re: [lwip-users] Httpd server in contrib |
Date: |
Fri, 15 Feb 2013 07:10:02 +0100 (CET) |
Louis Wells wrote:
> Even if I were to remove the limitation test, and sent the entire buffer
> worth of data into tcp, the http_send_data function is only going to get
> called again after tcp receives an ack for all of the data sent.
No, the 'sent' callback is called for every RX packet that ACKs new data.
Normally, the remote side will ACK new data roughly for every 2nd packet
received. This is lwIP's way to implement TCP's sliding window, anyway.
Simon