aboutsummaryrefslogtreecommitdiff
path: root/doc/libmicrohttpd.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/libmicrohttpd.texi')
-rw-r--r--doc/libmicrohttpd.texi10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/libmicrohttpd.texi b/doc/libmicrohttpd.texi
index fac6e634..82bf9b23 100644
--- a/doc/libmicrohttpd.texi
+++ b/doc/libmicrohttpd.texi
@@ -542,7 +542,7 @@ want to benchmark your application to see if this makes any difference
542for you. 542for you.
543 543
544 544
545@item MHD_SUPPRESS_DATE_NO_CLOCK 545@item MHD_USE_SUPPRESS_DATE_NO_CLOCK
546@cindex date 546@cindex date
547@cindex clock 547@cindex clock
548@cindex embedded systems 548@cindex embedded systems
@@ -579,7 +579,7 @@ Using this option also guarantees that MHD will not call
579@code{shutdown()} on the listen socket, which means a parent 579@code{shutdown()} on the listen socket, which means a parent
580process can continue to use the socket. 580process can continue to use the socket.
581 581
582@item MHD_USE_SUSPEND_RESUME 582@item MHD_ALLOW_SUSPEND_RESUME
583Enables using @code{MHD_suspend_connection} and 583Enables using @code{MHD_suspend_connection} and
584@code{MHD_resume_connection}, as performing these calls requires some 584@code{MHD_resume_connection}, as performing these calls requires some
585additional inter-thred communication channels to be created, and code 585additional inter-thred communication channels to be created, and code
@@ -591,7 +591,7 @@ Enable TCP_FASTOPEN on the listen socket. TCP_FASTOPEN is currently
591supported on Linux >= 3.6. On other systems using this option with 591supported on Linux >= 3.6. On other systems using this option with
592cause @code{MHD_start_daemon} to fail. 592cause @code{MHD_start_daemon} to fail.
593 593
594@item MHD_USE_UPGRADE 594@item MHD_ALLOW_UPGRADE
595@cindex upgrade 595@cindex upgrade
596This option must be set if you want to upgrade connections 596This option must be set if you want to upgrade connections
597(via ``101 Switching Protocols'' responses). This requires MHD to 597(via ``101 Switching Protocols'' responses). This requires MHD to
@@ -2098,7 +2098,7 @@ upgrade is performed is negotiated between server and client in
2098additional headers, in particular the ``Upgrade'' header. 2098additional headers, in particular the ``Upgrade'' header.
2099 2099
2100MHD supports switching protocols using this mechanism only if the 2100MHD supports switching protocols using this mechanism only if the
2101@code{MHD_USE_SUSPEND_RESUME} flag has been set when starting 2101@code{MHD_ALLOW_SUSPEND_RESUME} flag has been set when starting
2102the daemon. If this flag has been set, applications can upgrade 2102the daemon. If this flag has been set, applications can upgrade
2103a connection by queueing a response (using the 2103a connection by queueing a response (using the
2104@code{MHD_HTTP_SWITCHING_PROTOCOLS} status code) which must 2104@code{MHD_HTTP_SWITCHING_PROTOCOLS} status code) which must
@@ -2201,7 +2201,7 @@ select, internal select or thread pool; not applicable to
2201thread-per-connection!) for a while. 2201thread-per-connection!) for a while.
2202 2202
2203If you use this API in conjunction with a internal select or a 2203If you use this API in conjunction with a internal select or a
2204thread pool, you must set the option @code{MHD_USE_SUSPEND_RESUME} to 2204thread pool, you must set the option @code{MHD_ALLOW_SUSPEND_RESUME} to
2205ensure that a resumed connection is immediately processed by MHD. 2205ensure that a resumed connection is immediately processed by MHD.
2206 2206
2207Suspended connections continue to count against the total number of 2207Suspended connections continue to count against the total number of