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

libwww and HTTP1.0

From: Mikhail Grouchinski <mgrouch@usa.net>
Date: 18 Mar 99 10:40:37 EST
Message-ID: <19990318154037.10270.qmail@nw173.netaddress.usa.net>
To: www-lib@w3.org
Hello everyone,

I can't understand the behavior of libwww with HTTP/1.0.
I set HTTP_FORCE_10 and Connection: close for each request.
I issue several requests and they get stuck in libwww and
After Filters are not called.

I tried to dump HTTP request headers and issued the same 
request via telnet. The reply comes immediately.
Libwww doesn't call After filters with the same request. 

Also, I noticed that even with HTTP_FORCE_10 libwww never
opens several sockets to the same host. I understand that 
with HTTP/1.1 it is default behavior, but with HTTP/1.0
it should be able to create several simultaneous connections
to one Web server. 

Can libwww with HTTP/1.0 open many connection to the same host?

I'm trying to make libwww to work without pipelining and
open no more than HTNet_maxSocket() connections.

Everything works fine (and as expected) with HTTP/1.1,
but HTTP/1.0 behavior is very strange.

Is there anyone who had the same problems.

Thank you,
Your help is greatly appreciated.


____________________________________________________________________
Get free e-mail and a permanent address at http://www.netaddress.com/?N=1
Received on Thursday, 18 March 1999 10:40:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:29 GMT