Trying to load local files

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 UTC