aboutsummaryrefslogtreecommitdiff
path: root/doc/libmicrohttpd.texi
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-08-12 21:56:49 +0000
committerChristian Grothoff <christian@grothoff.org>2013-08-12 21:56:49 +0000
commita50a5626c08df674043907b562f90306589847a4 (patch)
tree0170de4c6dcbefb343d20fd590c0c568669452f1 /doc/libmicrohttpd.texi
parent9569a609edc067b018be8182424e54de41df2fdc (diff)
downloadlibmicrohttpd-a50a5626c08df674043907b562f90306589847a4.tar.gz
libmicrohttpd-a50a5626c08df674043907b562f90306589847a4.zip
document #2983
Diffstat (limited to 'doc/libmicrohttpd.texi')
-rw-r--r--doc/libmicrohttpd.texi10
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/libmicrohttpd.texi b/doc/libmicrohttpd.texi
index 3c5664c5..6a4a1cf5 100644
--- a/doc/libmicrohttpd.texi
+++ b/doc/libmicrohttpd.texi
@@ -1322,7 +1322,12 @@ managed by MHD. This API is usually not needed (since
1322MHD will accept inbound connections on the server socket). 1322MHD will accept inbound connections on the server socket).
1323Use this API in special cases, for example if your HTTP 1323Use this API in special cases, for example if your HTTP
1324server is behind NAT and needs to connect out to the 1324server is behind NAT and needs to connect out to the
1325HTTP client. 1325HTTP client, or if you are building a proxy.
1326
1327If you use this API in conjunction with a internal select or a thread
1328pool, you must set the option @code{MHD_USE_PIPE_FOR_SHUTDOWN} to
1329ensure that the freshly added connection is immediately processed by
1330MHD.
1326 1331
1327The given client socket will be managed (and closed!) by MHD after 1332The given client socket will be managed (and closed!) by MHD after
1328this call and must no longer be used directly by the application 1333this call and must no longer be used directly by the application
@@ -1342,7 +1347,8 @@ number of bytes in addr
1342This function will return @code{MHD_YES} on success, 1347This function will return @code{MHD_YES} on success,
1343@code{MHD_NO} if this daemon could 1348@code{MHD_NO} if this daemon could
1344not handle the connection (i.e. malloc failed, etc). 1349not handle the connection (i.e. malloc failed, etc).
1345The socket will be closed in any case. 1350The socket will be closed in any case; 'errno' is set
1351to indicate further details about the error.
1346@end deftypefun 1352@end deftypefun
1347 1353
1348 1354