W3C home > Mailing lists > Public > www-lib@w3.org > July to September 2001

Re: Post data problem with libwww samples

From: Jeff Adams <jeffa@coursewave.com>
Date: Tue, 28 Aug 2001 08:52:10 -0500
Message-Id: <a0510030bb7b151d9db6a@[204.253.190.123]>
To: Pierre Ficheux <pficheux@wanadoo.fr>, www-lib@w3.org
At 11:25 AM +0200 8/28/01, Pierre Ficheux wrote:
>	Hi,
>
>	I try to use the 'post' example for the libwww in order to post an html
>form and and I get a 'long' delai
>(about 1s) before getting answer from Apache:

Hello Pierre,

Have a look at HTTP.h, by default a 2 and 3 second delay is
done for waiting to write POST body content after separately writing
the header data, you can change this default delay using:

extern BOOL HTTP_setBodyWriteDelay (ms_t first_try, ms_t second_try);

specifying a value larger than 20 ms

You should see faster returns afterwards

Jeff
-- 

Jeff Adams                   
Research & Development         phone: 217-239-1188     
CourseWave, Inc.               fax: 217-398-3037  
106 South Neil Street          email: mailto:jeffa@coursewave.com
Champaign, IL  61820 USA       web: http://www.coursewave.com
Received on Tuesday, 28 August 2001 09:50:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:39 GMT