aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-12-03 20:11:34 +0000
committerChristian Grothoff <christian@grothoff.org>2013-12-03 20:11:34 +0000
commit04ca76e78eaea8f40c4262aee530d2b2c3b281bf (patch)
tree0499583645c8477a6688a01f0f92bbf5735de1cc /doc
parent4245c6e9c371a8434b13a37edbc4e6dc239813da (diff)
downloadlibmicrohttpd-04ca76e78eaea8f40c4262aee530d2b2c3b281bf.tar.gz
libmicrohttpd-04ca76e78eaea8f40c4262aee530d2b2c3b281bf.zip
Adding Matt Holiday's fixes to suspend/resume logic
(plus documentation updates).
Diffstat (limited to 'doc')
-rw-r--r--doc/libmicrohttpd.texi8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/libmicrohttpd.texi b/doc/libmicrohttpd.texi
index 6fa82ab5..6780ef68 100644
--- a/doc/libmicrohttpd.texi
+++ b/doc/libmicrohttpd.texi
@@ -520,6 +520,12 @@ use of this option is automatic (as in, you do not even have to
520specify it), if @code{MHD_USE_NO_LISTEN_SOCKET} is specified. In 520specify it), if @code{MHD_USE_NO_LISTEN_SOCKET} is specified. In
521"external" select mode, this option is always simply ignored. 521"external" select mode, this option is always simply ignored.
522 522
523@item MHD_USE_SUSPEND_RESUME
524Enables using @code{MHD_suspend_connection} and
525@code{MHD_resume_connection}, as performing these calls requires some
526additional pipes to be created, and code not using these calls should
527not pay the cost.
528
523@end table 529@end table
524@end deftp 530@end deftp
525 531
@@ -1856,7 +1862,7 @@ select, internal select or thread pool; not applicable to
1856thread-per-connection!) for a while. 1862thread-per-connection!) for a while.
1857 1863
1858If you use this API in conjunction with a internal select or a 1864If you use this API in conjunction with a internal select or a
1859thread pool, you must set the option @code{MHD_USE_PIPE_FOR_SHUTDOWN} to 1865thread pool, you must set the option @code{MHD_USE_SUSPEND_RESUME} to
1860ensure that a resumed connection is immediately processed by MHD. 1866ensure that a resumed connection is immediately processed by MHD.
1861 1867
1862Suspended connections continue to count against the total number of 1868Suspended connections continue to count against the total number of