W3C home > Mailing lists > Public > www-lib@w3.org > January to March 1999

Multiply requests share one socket

From: Mikhail Grouchinski <mgrouch@usa.net>
Date: 15 Jan 99 15:11:10 EST
Message-ID: <19990115201110.17967.qmail@www0s.netaddress.usa.net>
To: www-lib@w3.org

I found that libwww opens only one connection to www server.

I set HTNet_maxSocket to 100 then I create 100 requests to the same host 
and check the response time.

The response time increases proportionally to the request's number. 
Using WWWTRACE flag I can see that all other requests except one 
are always pending and one is always in pipe 
(no matter whether i call before

Using netstat I see that the application opens only one socket to WWW server.

So that the application gets stuck for a while because it uses only one socket
www server although I want to let it use much more. 

How can I increase the number of sockets the library can open to www server.

Thank you,

Get free e-mail and a permanent address at http://www.netaddress.com/?N=1
Received on Friday, 15 January 1999 15:53:37 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:48 UTC