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

Committed a few patches to libwww

From: Henrik Frystyk Nielsen <frystyk@w3.org>
Date: Tue, 24 Nov 1998 21:25:33 -0500
Message-Id: <3.0.5.32.19981124212533.00bead30@localhost>
To: www-lib@w3.org

Here are a set of patches that fixes various problems in the current libwww
code base.

You can get all the diffs by following the description at

   http://www.w3.org/Library/cvs.html#update

When recompiling, please follow the directions indicated at:

   http://www.w3.org/Library/cvs.html#Easy

Here goes...

Patch 1
-------

Fixed the handling of pending requests when running out of available
sockets and made the no pipelining mode work so that you can now set if
using the HTTP connection modes described in the HTTP module

Affected file

http://dev.w3.org/cgi-bin/cvsweb/libwww/Library/src/HTHost.c

Diffs

http://dev.w3.org/cgi-bin/cvsweb/libwww/Library/src/HTHost.c?r1=2.51&r2=2.52

Patch 2
-------

Enabled support for dumping the current set of file descriptors when
select{} for some reason returns -1 (usually when a bad file descriptor is
passed as an argument)

Affected file

http://dev.w3.org/cgi-bin/cvsweb/libwww/Library/src/HTEvtLst.c

Diffs

http://dev.w3.org/cgi-bin/cvsweb/libwww/Library/src/HTEvtLst.c?r1=2.25&r2=2.26

Patch 3
-------

Increased the default number of simultaneous TCP connections to different
hosts:ports (always only one to the same host:port) to 64 as this is not
often a real limitation.

Affected file

http://dev.w3.org/cgi-bin/cvsweb/libwww/Library/src/HTProfil.c

Diffs

http://dev.w3.org/cgi-bin/cvsweb/libwww/Library/src/HTProfil.c?r1=2.18&r2=2.19

Patch 4
-------

Added new connection abstraction to the gopher protocol which now should
work again (can't find a gopher server to test against, though

Affected file

http://dev.w3.org/cgi-bin/cvsweb/libwww/Library/src/HTGopher.c

Diffs

http://dev.w3.org/cgi-bin/cvsweb/libwww/Library/src/HTGopher.c?r1=2.64&r2=2.65

Patch 5
-------

There seems to be a bug in qsort on Solaris 2.6 (all recommended patched
Sep 1998). The result is that libwww may dump core when doing content
negotiation on local disk file resources

Affected file

http://dev.w3.org/cgi-bin/cvsweb/libwww/Library/src/HTMulti.c

Diffs

http://dev.w3.org/cgi-bin/cvsweb/libwww/Library/src/HTMulti.c?r1=2.32&r2=2.33

Henrik
--
Henrik Frystyk Nielsen,
World Wide Web Consortium
http://www.w3.org/People/Frystyk
Received on Tuesday, 24 November 1998 21:25:34 EST

This archive was generated by hypermail pre-2.1.9 : Wednesday, 3 September 2003 17:59:22 EDT