[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [task #7040] Work on tcp_enqueue
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [task #7040] Work on tcp_enqueue |
Date: |
Thu, 28 Jun 2007 07:16:14 +0000 |
User-agent: |
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727) |
Follow-up Comment #4, task #7040 (project lwip):
re comment #3:
What I've seen there might also come from an incorrect implementation of
tcp_output_nagle(): tcp_output should only be called if there is a
full-sized-segment to be sent (or unacked == NULL). pcb->snd_queuelen is not
sufficient for this when calling tcp_write with many small chunks! I'll work
on that.
Anyway, the current code already tries to combine an existing segment with
the newly created segments, but only succeeds if the first segment on 'queue'
fits in. I would see this as a bug (it both wastes space and is inefficient).
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/task/?7040>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/