lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Problems while loading http contens - Email found in su


From: Bernhard 'Gustl' Bauer
Subject: Re: [lwip-users] Problems while loading http contens - Email found in subject
Date: Mon, 02 Mar 2009 11:52:21 +0100
User-agent: Thunderbird 2.0.0.19 (Windows/20081209)

Tamas,

lwipopts.h says:
#define TCP_MSS                         1460
#define TCP_SND_BUF                     (16*TCP_MSS)
#define TCP_SND_QUEUELEN                (4 * (TCP_SND_BUF/TCP_MSS))

So TCP_SND_QUEUELEN is 64. My largest File is m1.html with 26kB. I'm not sure about the calculation but I think TCP_SND_QUEUELEN is big enough, although it doesn't fit into TCP_SND_BUF.

thanks Gustl

Tamas Somogyi schrieb:
Gustl,

Did you try to increase TCP_SND_QUEUELEN? By default it allows to
transfer small amount of data simultaneously, so "large" (10-15kb)
javascript, gif, etc. files will be partially transmitted only. I'm not
sure whether your problem is related to this issue, but it's quick to
check by adjusting queue length according to your file sizes.

Regs,
Tamas
-----Original Message-----
From: address@hidden
[mailto:address@hidden On
Behalf Of Bernhard 'Gustl' Bauer
Sent: 02 March 2009 10:06
To: Mailing list for lwIP users
Subject: Re: [lwip-users] Problems while loading http contens - Email
found in subject

Mike Kleshov schrieb:
1) I know that Firefox can be configured to limit the number of TCP
connections. There is an option somewhere in about:config. But this is
not a nice solution.

No, it isn't. It should not work with Firefox only.

2) The maximum number of simultaneous TCP connections is configurable
in lwipopts.h:
#define MEMP_NUM_TCP_PCB

opt.h says:
#define MEMP_NUM_TCP_PCB                10

Perhaps, HTTP persistent connections could also limit the number of
open connections between the browser and the server, but I am not sure
about this.

The connection is opened and is reset after the GET ist received. So maybe it isn't possible to open two files at once. But couldn't the second file be delayed?

Gustl


_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users


_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users





reply via email to

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