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

Added support for determining the write delay in HTTP PUT and POSTS

From: Henrik Frystyk Nielsen <frystyk@w3.org>
Date: Thu, 19 Nov 1998 12:47:45 -0500
Message-Id: <>
To: www-lib@w3.org


Because of the differences between HTTP/1.0 and HTTP/1.1, HTTP PUT and POST
requests can not be dealt with in non-preemptive mode - they have to use
timers and hence must be in preemptive mode.

The default write mechanism used is first to write the headers and then
wait for a period of time before writing the body. This often allows the
server to respond before we start sending data across the wire. If the
write for some reason fails in a bad way then we try again, waiting a
little bit longer this time as this may give the server enough time to think.

The default wait periods are 2000ms for the first wait and 3000ms if that
fails. These are rather conservative values but can be changed by using
these functions. The second try value must be larger (or equal) to the
first try value and the first try value must be larger than 20 ms.

Files affected:

	http://www.w3.org/Library/src/HTTP.html (and therefore HTTP.h)



How to get it:


How to recompile:



Henrik Frystyk Nielsen,
World Wide Web Consortium
Received on Thursday, 19 November 1998 12:47:46 UTC

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