W3C home > Mailing lists > Public > www-lib@w3.org > April to June 2002

RE: Am I missing something?

From: Brass, Phil (ISS Atlanta) <PBrass@iss.net>
Date: Fri, 31 May 2002 13:22:33 -0400
Message-ID: <6311D9F0D671FD4084C3A118D8E5E7F942EB68@msgatl07.iss.net>
To: "'Kenneth B. Haase'" <haase@beingmeta.com>, "'www-lib@w3.org'" <www-lib@w3.org>

The headers are stored in the parent anchor in an array.  RAW does not read
the headers, so it does not know the content-length, so it does not know
when the server is done.

Phil

> -----Original Message-----
> From: Kenneth B. Haase [mailto:haase@beingmeta.com]
> Sent: Friday, May 31, 2002 8:59 AM
> To: 'www-lib@w3.org'
> Subject: Am I missing something?
> 
> 
> 
> I have a simple application which is trying to read a remote 
> URL, but it
> takes incredibly long.  When I trace it with "sop", I find that it has
> read all the data almost immediately (as soon as I would expect) and
> that there is then a 15 second wait for a FIN on the connection, at
> which point my terminate handler is called and my application 
> can go on
> with its work.
> 
> I've tried fooling with settings, switching to HTNet_addAfter from
> HTRequest_addAfter, but none of those changes seem to help.  
> The output
> format is WWW_RAW and the problem goes away with WWW_SOURCE, 
> but I need
> to get the headers because I will be parsing them myself.  The remote
> site also provides a content-length, so libwww should no when the
> transaction is finished.
> 
> Any help would be appreciated.
> 
> Thanks,
> 
> Ken
> -- 
> Ken Haase
> kh@beingmeta.com
> beingmeta, inc.
> www.beingmeta.com
> 
Received on Friday, 31 May 2002 13:26:15 GMT

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