diff options
Diffstat (limited to 'doc/libmicrohttpd.texi')
-rw-r--r-- | doc/libmicrohttpd.texi | 10 |
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 | |||
542 | for you. | 542 | for 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 |
580 | process can continue to use the socket. | 580 | process can continue to use the socket. |
581 | 581 | ||
582 | @item MHD_USE_SUSPEND_RESUME | 582 | @item MHD_ALLOW_SUSPEND_RESUME |
583 | Enables using @code{MHD_suspend_connection} and | 583 | Enables 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 |
585 | additional inter-thred communication channels to be created, and code | 585 | additional inter-thred communication channels to be created, and code |
@@ -591,7 +591,7 @@ Enable TCP_FASTOPEN on the listen socket. TCP_FASTOPEN is currently | |||
591 | supported on Linux >= 3.6. On other systems using this option with | 591 | supported on Linux >= 3.6. On other systems using this option with |
592 | cause @code{MHD_start_daemon} to fail. | 592 | cause @code{MHD_start_daemon} to fail. |
593 | 593 | ||
594 | @item MHD_USE_UPGRADE | 594 | @item MHD_ALLOW_UPGRADE |
595 | @cindex upgrade | 595 | @cindex upgrade |
596 | This option must be set if you want to upgrade connections | 596 | This 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 | |||
2098 | additional headers, in particular the ``Upgrade'' header. | 2098 | additional headers, in particular the ``Upgrade'' header. |
2099 | 2099 | ||
2100 | MHD supports switching protocols using this mechanism only if the | 2100 | MHD 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 |
2102 | the daemon. If this flag has been set, applications can upgrade | 2102 | the daemon. If this flag has been set, applications can upgrade |
2103 | a connection by queueing a response (using the | 2103 | a 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 | |||
2201 | thread-per-connection!) for a while. | 2201 | thread-per-connection!) for a while. |
2202 | 2202 | ||
2203 | If you use this API in conjunction with a internal select or a | 2203 | If you use this API in conjunction with a internal select or a |
2204 | thread pool, you must set the option @code{MHD_USE_SUSPEND_RESUME} to | 2204 | thread pool, you must set the option @code{MHD_ALLOW_SUSPEND_RESUME} to |
2205 | ensure that a resumed connection is immediately processed by MHD. | 2205 | ensure that a resumed connection is immediately processed by MHD. |
2206 | 2206 | ||
2207 | Suspended connections continue to count against the total number of | 2207 | Suspended connections continue to count against the total number of |