Known Bugs in W3C Reference Library

# Known Bugs and Patches

The list of known bugs are in reverse chronological order. Please report bugs or bug-fixes to libwww@w3.org noting the version of the Library and what caused the bug to appear.

The provided patches are relative to the `WWW` directory in the distribution tree. In order to apply a patch, do the following in the `WWW` directory:

1. Download the patch, for example lib-1.fix
2. Invoke the patch command by typing

       	patch < lib-1.fix

3. Rebuild the code by typing

       	make clobber
       	./BUILD library

You should only apply patches under the section with same version number as your current version. You can see the current version of this software by looking into the version file.

## Library 4.0D

Patch for better logging

## Library 4.0C

Patch for PUT and POST
  This patch is rather big but it contains some fixes and modifications that enables PUT and POST to work reliably. If you download the 4.0C version of the distribution then the patch has already been applied. It is basically the difference between versions 4.0B and 4.0C. The main set of differences are:
  - Automatic redirection and Access authentication has been take n out of the HTTP module. Instead the new mechanism with request callback functions are used so that the application can register handlers to handle these situations. The reason for this change is that not all applications are interested in having this functionality performed automatically.
  - Authentication handler and redirection handler added to both the Line Mode Browser and the Command Line Tool
  - Added three possible return codes on which a request callback function can be called:
    - HT_PERM_REDIRECT for permanently moved objects
    - HT_TEMP_REDIRECT for temporarily moved objects
    - HT_NO_ACCESS for insufficient credentials
  - PUT and POST do now work reliably in the Line Mode Browser and the Command Line Tool. Both can PUT or POST a document from either a remote HTTP server or the local file system to a remote HTTP server.
  - An important bug-fix in the internal event manager that prevented a socket to be registered for multiple events at the same time.
  - Cleanup of the POSTWeb management in the file module and the HTTP module
  - In addition to progress notification on READ we now support progress notification when sending a data object
  - Spelling mistake fixed. preemtive is changed to preemptive
  - The W3C Mini Robot has now the ability to stop at a certain depth while traversing the Web.

## Library 4.0

- SGML fix from Maciej Puzio for better error handling
- Generating DLLs under Windows using Borland compilers
- Bug in management of select() timeout handler
- Bug in no-proxy directive
- HTML Machinery is still missing a great deal. However this part is now isolated into the SGML-HTML-HText stream pipe and will be replaced by a new parser as soon as possible in connection with the development of Arena.
- Directory listings do not work completely on Windows NT

## Library 3.1

Bug in time stamp on files in FTP directory listings
  The Library supports "long" directory listings for FTP Unix, VMS and Windows NT servers with file type, size, time and date etc. However, the time stamp is wrong by one hour for files created when daylight saving time is enabled. The reason is that the FTP module in the Library doesn't know the time-zone of the remote FTP server and hence doesn't know when DSR is enabled or disabled. This is fixed in the next version
Problem with nested HTML tags in the HTML parser
  A bug which makes the HTML parser crash if is gets more than 20 nested HTML tags. Thanks to Robert M. Fleischman for pointing this out!

  ## Library 3.0

  Problems with redirection
    Until now all HTTP servers have sent back a small HTML document with a redirection message going:

        	If you can see this message then your browser
        	does not support automatic redirection.

    However, new severs like Netscape and other servers don't send this and hence no stream should be set up. This confuses the Library and it dumps core.