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

Re: Open more than one HTTP request to a host?

From: Richard Atterer <richard@list03.atterer.net>
Date: Tue, 4 Mar 2003 12:33:13 +0100
To: Tim Serong <tim.serong@conceiva.com>
Cc: www-lib@w3.org
Message-ID: <20030304113312.GA2320@elessar.lan>

On Tue, Mar 04, 2003 at 06:14:09PM +1100, Tim Serong wrote:
> I've spent some time digging through the mailing list archives trying to
> find out how to open more than one simultaneous HTTP request to a given
> host.  I have found some older (> 2 years) posts that say "you can't".
> Can anyone tell me if this is still the case?

I think so, yes, at least for HTTP requests to the same port. However, IMHO
this is a good decision, at least for pipelined HTTP hosts. (FTP/HTTP1.0 is
a different matter.)

As always with libwww, it's probably possible to play some dirty tricks to
get around the limitation. For this, you somehow need to fool HTHost_new()
into creating another host object. For example, it might be possible just
to append "." to the hostname for a second connection.



  __   _
  |_) /|  Richard Atterer     |  CS student at the Technische  |  GnuPG key:
  | \/¯|  http://atterer.net  |  Universität München, Germany  |  0x888354F7
  ¯ '` ¯
Received on Tuesday, 4 March 2003 07:59:05 UTC

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