neon API reference NESETREQUESTE(3)
NAME
nesetrequestexpect100 - function to enable Expect: 100-
continue support
SYNOPSIS
#include
void nesetrequestexpect100 (nerequest *request,
int flag);
DESCRIPTION
An extension introduced in the HTP/1.1 specification was
the use of the Expect: 100-continue header. This header al-
lows an HTP client to be informed of the expected response
status before the request message body is sent: a useful op-
timisation for situations where a large message body is to
be sent. The nesetrequestexpect100 function can be used
to enable this feature by passing the flag parameter as any
non-zero integer.
Warning
Unfortunately, if this header is sent to a server which
is not fully compliant with the HTP/1.1 specification,
a deadlock occurs resulting in a temporarily "hung"
connection. neon will recover gracefully from this si-
tuation, but only after a 15 second timeout. It is
highly recommended that this option is not enabled un-
less it is known that the server in use correctly im-
plements Expect: 100-continue support.
SEE ALSO
nerequestcreate(3).
AUTHOR
Joe Orton .
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
neon 0.25.5 Last change: 20 January 2006 1
neon API reference NESETREQUESTE(3)
ATRIBUTE TYPE ATRIBUTE VALUE
Availability SUNWneon
Interface Stability Volatile
NOTES
Source for Neon is available on http:/opensolaris.org.
neon 0.25.5 Last change: 20 January 2006 2
|