[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #27215] http_sent() gives trailing 1 byte len [raw]
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [bug #27215] http_sent() gives trailing 1 byte len [raw] |
Date: |
Sun, 23 Aug 2009 12:30:33 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; de; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 |
Follow-up Comment #1, bug #27215 (project lwip):
I have just been debugging this and the 1 byte is of course the FIN being
acked. The same problem exists with the initial SYN, which is because the
http_sent function always gets called with 2 bytes more than the file size
(unless tcp_sent is called to reset the callback too early, of course).
Since at the point the sent function is called (in tcp_input), we could only
rely on the pcb's state, I guess (in case of SYN received, the state *before*
the syn is actually processed).
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?27215>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/