aboutsummaryrefslogtreecommitdiff
path: root/doc/libmicrohttpd.texi
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-05-20 10:30:32 +0000
committerChristian Grothoff <christian@grothoff.org>2013-05-20 10:30:32 +0000
commitcfea15fe53e1d84d38de88651f31122de6369143 (patch)
tree1a2b622d6c6d886cd0bdca52bf992c11da03ada3 /doc/libmicrohttpd.texi
parentf4a4a70d43a3c99915190447356c1080feb8867b (diff)
downloadlibmicrohttpd-cfea15fe53e1d84d38de88651f31122de6369143.tar.gz
libmicrohttpd-cfea15fe53e1d84d38de88651f31122de6369143.zip
-fix 2886
Diffstat (limited to 'doc/libmicrohttpd.texi')
-rw-r--r--doc/libmicrohttpd.texi12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/libmicrohttpd.texi b/doc/libmicrohttpd.texi
index f3950e39..882431a4 100644
--- a/doc/libmicrohttpd.texi
+++ b/doc/libmicrohttpd.texi
@@ -2138,6 +2138,18 @@ and then call @code{gnutls_certificate_get_peers()}.
2138Returns information about @code{struct MHD_Daemon} which manages 2138Returns information about @code{struct MHD_Daemon} which manages
2139this connection. 2139this connection.
2140 2140
2141@item MHD_CONNECTION_INFO_CONNECTION_FD
2142Returns the file descriptor (usually a TCP socket) associated with
2143this connection (in the ``connect-fd'' member of the returned struct).
2144Note that manipulating the descriptor directly can have problematic
2145consequences (as in, break HTTP). Applications might use this access
2146to manipulate TCP options, for example to set the ``TCP-NODELAY''
2147option for COMET-like applications. Note that MHD will set TCP-CORK
2148after sending the HTTP header and clear it after finishing the footers
2149automatically (if the platform supports it). As the connection
2150callbacks are invoked in between, those might be used to set different
2151values for TCP-CORK and TCP-NODELAY in the meantime.
2152
2141@end table 2153@end table
2142@end deftp 2154@end deftp
2143 2155