lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [lwip-devel] [bug #20506] HTTP server doesn't call tcp_output


From: Kieran Mansley
Subject: RE: [lwip-devel] [bug #20506] HTTP server doesn't call tcp_output
Date: Fri, 20 Jul 2007 11:27:49 +0100

On Fri, 2007-07-20 at 11:34 +0200, Goldschmidt Simon wrote:
> > Follow-up Comment #30, bug #20506 (project lwip):
> > 
> > To conclude: The speed will be improved if i increase the 
> > Congestion window size to 'pcb->cwnd = pcb->mss*2'.
> > 
> > Can you tell me in which files and functions this change need 
> > to be done ?
> > There are many lines in code which changes the pcb->cwnd.
> 
> This is rather a thing we would change in CVS HEAD. If you really want
> To change it right now (e.g. for testing), change tcp_in.c line 567
> in CVS HEAD (I think line 538 in v1.2.0; tcp_process()
> switch(pcb->state)
> case SYN_RCVD) from 'pcb->cwnd = pcb->mss;' to 'pcb->cwnd = 2 *
> pcb->mss;'
> 
> But I'd suggest to upgrade to a newer version (CVS HEAD or the
> 'upcoming'
> 1.3.0).

Although bear in mind that upgrading a port from 1.2 to CVS HEAD is far
more tricky than just the above.

Kieran





reply via email to

[Prev in Thread] Current Thread [Next in Thread]