RE: Am I missing something?
"Brass, Phil (ISS Atlanta)" <[email protected]>
| Newsgroups | gmane.comp.lib.libwww |
|---|---|
| Message-ID | <[email protected]> |
OK, not an array, one of those tag/value containers that's really a list. Phil > -----Original Message----- > From: Brass, Phil (ISS Atlanta) > Sent: Friday, May 31, 2002 1:23 PM > To: 'Kenneth B. Haase'; '[email protected]' > Subject: RE: Am I missing something? > > > > 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:[email protected]] > > Sent: Friday, May 31, 2002 8:59 AM > > To: '[email protected]' > > 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 > > [email protected] > > beingmeta, inc. > > www.beingmeta.com > > >