HTHost_addNet, HTHost_decreaseRetry, HTHost_deleteNet, HTList_removeObjectAll, HTLoadWAIS

	Dear W3C WWW Reference Library Developers, Testers, Users.

   The attached is gzip'ed patch against w3c-libwww-5.1i that cures (I hope)
 some of the library problems:

   HTHost.c
   ~~~~~~~~
      HTHost_decreaseRetry()
         The bug is obviously a fatal typo.
         It has already been pointed out here by
         John Nunneley <johnn@dascom.com> more than half a year ago,
         but the bug is still there. :(

      HTHost_addNet()
         I have successfully used libwww-5.0a with non-blocking sockets
         (in the context of Arena browser), but failed with 5.1i.
         The library began looping on inline documents (images).
         Been investigated it turned out that it was spawning multiple
         copies of the same net objects and adding them to `pending' list,
         while the `pipeline' was occupied by the net object associated with
         the main document, that actually has already been loaded
         (but it's net object has not been deleted from pipeline).
         I don't know what does cause that `pipeline jam',
         is it error in libwww or in the application (Arena browser).
         Anyway (I guess) the same net objects should not be added
         mutiple times to either queue (`pending' or `pipeline' list),
         so add check to the function whether the object is already
         on either of the lists.
         With the patch the browser appears to work well.

   HTWAIS.c
   ~~~~~~~~
         Don't know if anybody get managed to compile and use WAIS module
         in libwww-5.1i, I have failed totally.
         So I've tried to hack it and make it work.
         I have already submitted the patch (adapted to 5.0a) earlier.
         Don't know neither if it has libwww architecture coding style,
         nor if it is actually correct, BUT know that it WORKS for me.
         The main strucrture has been borrowed from HTTP.c.

   HTEscape.c
   ~~~~~~~~~~
      from_hex()
         The WAIS module needs this function, so make it public.

   HTList.c
   ~~~~~~~~
      HTList_removeObjectAll()
         The original function is unusable:
         while object removal it first frees HTList element,
         then tries to use it's contents (in `while(me->next)') causing,
         of course, segmentation violation.

   Thank you.

--
      QingLong                  Yggdrasil Computing, Incorporated
   +1 408 261-6630             "Free Software For The Rest of US."

Received on Monday, 9 March 1998 18:10:15 UTC