diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-09-22 17:21:33 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-09-22 17:21:33 +0000 |
commit | 94c16f349dac04636da8fe94277d53c344e958c5 (patch) | |
tree | 87ac73a62267c244e0703bc84eb906e5e8e3627f /doc/libmicrohttpd.texi | |
parent | 316f6c4ef30ef00d7d0692055724fb293f1eb799 (diff) | |
download | libmicrohttpd-94c16f349dac04636da8fe94277d53c344e958c5.tar.gz libmicrohttpd-94c16f349dac04636da8fe94277d53c344e958c5.zip |
help systemd by not calling shutdown() on listen socket if MHD_USE_PIPE_FOR_SHUTDOWN is given
Diffstat (limited to 'doc/libmicrohttpd.texi')
-rw-r--r-- | doc/libmicrohttpd.texi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/libmicrohttpd.texi b/doc/libmicrohttpd.texi index 1e1486de..f8c7aca8 100644 --- a/doc/libmicrohttpd.texi +++ b/doc/libmicrohttpd.texi | |||
@@ -542,6 +542,10 @@ use of this option is automatic (as in, you do not even have to | |||
542 | specify it), if @code{MHD_USE_NO_LISTEN_SOCKET} is specified. In | 542 | specify it), if @code{MHD_USE_NO_LISTEN_SOCKET} is specified. In |
543 | "external" select mode, this option is always simply ignored. | 543 | "external" select mode, this option is always simply ignored. |
544 | 544 | ||
545 | Using this option also guarantees that MHD will not call | ||
546 | @code{shutdown()} on the listen socket, which means a parent | ||
547 | process can continue to use the socket. | ||
548 | |||
545 | @item MHD_USE_SUSPEND_RESUME | 549 | @item MHD_USE_SUSPEND_RESUME |
546 | Enables using @code{MHD_suspend_connection} and | 550 | Enables using @code{MHD_suspend_connection} and |
547 | @code{MHD_resume_connection}, as performing these calls requires some | 551 | @code{MHD_resume_connection}, as performing these calls requires some |