W3C home > Mailing lists > Public > www-lib@w3.org > October to December 1999

Trying to load local files

From: Sam Couter <eddie@topic.com.au>
Date: Wed, 17 Nov 1999 21:23:29 -0500 (EST)
To: www-lib@w3.org
Message-ID: <19991118132252.A26665@mailhost.topic.com.au>
Greetings libwww'ers,

I'm trying to load a bunch of files from the local filesystem. Using
HTLoadAbsolute() seems to get me what I want if I go into the event loop
straight away, but I don't want to do that. What I want to do is
HTLoadAbsolute() a whole bunch at a time, *then* call HTEventList_newLoop().
This works with http: URLs, but with more than one file: request active I
get this trace:

EventList... calling socket 3, request 0x8056400 handler 0x400a467c type
HTEvent_READ
Host Event.. wild socket 3 type = Event_Read real socket is 4

And the library ends up stuck in a select() loop, printing the above trace
and associated select() traces over and over.

I'm using the HTProfile_newHTMLNoCacheClient() profile.

This is in the deep dark part of the library that I don't understand, so I
can't even determine whether I'm doing something wrong (quite possibly), or
whether this is a bug in the library, or whether there's something else
causing it.

Can anyone help shed some light?
-- 
Sam Couter                                             sam@topic.com.au
Internet Engineer
tSA Consulting
Received on Wednesday, 17 November 1999 21:37:41 GMT

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