W3C home > Mailing lists > Public > www-lib@w3.org > April to June 2001

Preemptive incompatible with POST ... why?

From: Sean Kelly <kelly@ad1440.net>
Date: Wed, 23 May 2001 15:12:45 -0700
Message-ID: <024001c0e3d5$7e6bb120$6a1010ac@rosetta.zon>
To: <www-lib@w3.org>

I'm developing a utility function for clients that POSTs
a request to an HTTP server and converts the response
into an appropriate data structure.

I don't have to interact with external event dispatchers
and I don't think I should have to use libwww's event

Except that it doesn't work unless I do.  That is, if my
set up includes HTProtocolPreemptiveInit(), when I do
HTPostFormAnchor(), my posted data is never posted, and
the web server times out, treating the content length as

So, my question is, why?  Is there a synchronous way to
POST form data with libwww and block until the response
comes in?

Received on Wednesday, 23 May 2001 18:10:49 UTC

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