diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-08-12 21:56:49 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-08-12 21:56:49 +0000 |
commit | a50a5626c08df674043907b562f90306589847a4 (patch) | |
tree | 0170de4c6dcbefb343d20fd590c0c568669452f1 /doc/libmicrohttpd.texi | |
parent | 9569a609edc067b018be8182424e54de41df2fdc (diff) | |
download | libmicrohttpd-a50a5626c08df674043907b562f90306589847a4.tar.gz libmicrohttpd-a50a5626c08df674043907b562f90306589847a4.zip |
document #2983
Diffstat (limited to 'doc/libmicrohttpd.texi')
-rw-r--r-- | doc/libmicrohttpd.texi | 10 |
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 | |||
1322 | MHD will accept inbound connections on the server socket). | 1322 | MHD will accept inbound connections on the server socket). |
1323 | Use this API in special cases, for example if your HTTP | 1323 | Use this API in special cases, for example if your HTTP |
1324 | server is behind NAT and needs to connect out to the | 1324 | server is behind NAT and needs to connect out to the |
1325 | HTTP client. | 1325 | HTTP client, or if you are building a proxy. |
1326 | |||
1327 | If you use this API in conjunction with a internal select or a thread | ||
1328 | pool, you must set the option @code{MHD_USE_PIPE_FOR_SHUTDOWN} to | ||
1329 | ensure that the freshly added connection is immediately processed by | ||
1330 | MHD. | ||
1326 | 1331 | ||
1327 | The given client socket will be managed (and closed!) by MHD after | 1332 | The given client socket will be managed (and closed!) by MHD after |
1328 | this call and must no longer be used directly by the application | 1333 | this call and must no longer be used directly by the application |
@@ -1342,7 +1347,8 @@ number of bytes in addr | |||
1342 | This function will return @code{MHD_YES} on success, | 1347 | This function will return @code{MHD_YES} on success, |
1343 | @code{MHD_NO} if this daemon could | 1348 | @code{MHD_NO} if this daemon could |
1344 | not handle the connection (i.e. malloc failed, etc). | 1349 | not handle the connection (i.e. malloc failed, etc). |
1345 | The socket will be closed in any case. | 1350 | The socket will be closed in any case; 'errno' is set |
1351 | to indicate further details about the error. | ||
1346 | @end deftypefun | 1352 | @end deftypefun |
1347 | 1353 | ||
1348 | 1354 | ||