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

Re: Getting out of HTEventList_loop()

From: Henrik Frystyk Nielsen <frystyk@w3.org>
Date: Wed, 23 Jun 1999 12:07:52 -0400
To: www-lib@w3.org
Message-ID: <37710658.FA4D97C2@w3.org>
To: Michael Saunders <michael@amtec.com>
Michael Saunders wrote:
> I have experience some pretty large obsticles attempting to use this
> library which has been quite disappointing. I am not sure if it is
> the way in which I am using it or if it really is buggy. I discovered
> the following problems:
>         1) Exiting the event loop after interrupting a transfer makes
>         the library unusable upon subsequent transfers using the
>         default event loop in HTEvtLst.c. I followed the documentation
>         and called the HTHost_killPipe as instructed but it the library
>         doesn't seem to clean up correctly. Subsequent transfers
>         using HTLoadToFile stop immediately due to some read error
>         which causes the library to kill the pipe.

Do you have a libwww trace of this?

>         2) I had to make code modifications to the HTEventList_loop function
>         to make sure that the HTEndLoop flag was reset at all exit
>         points in the function.

Do you have a diff for this so that we can get it in?
>         3) I tried reinitializing the library and cleaning it up completely
>         before and after each request but I discovered that if perform
>         several subsequent download and uploads using HTLoadToFile and
>         HTPutDocumentAnchor the library crashes.

That is pretty much what the web commander does - do you have some
traces of this too?

Henrik Frystyk Nielsen, <frystyk@w3.org>
World Wide Web Consortium, MIT/LCS NE43-356
545 Technology Square, Cambridge MA 02139, USA
Received on Wednesday, 23 June 1999 12:08:02 UTC

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