浏览代码

document MHD_CONNECTION_INFO_CONNECTION_TIMEOUT in manual

Christian Grothoff 9 年之前
父节点
当前提交
6b03d68f07
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      doc/libmicrohttpd.texi

+ 8 - 0
doc/libmicrohttpd.texi

@@ -2814,6 +2814,14 @@ socket was first accepted.  Note that this is NOT the same as the
 
 Takes no extra arguments.
 
+@item MHD_CONNECTION_INFO_TIMEOUT
+Returns pointer to an @code{unsigned int} that is the current timeout
+used for the connection (in seconds, 0 for no timeout).  Note that
+while suspended connections will not timeout, the timeout value
+returned for suspended connections will be the timeout that the
+connection will use after it is resumed, and thus might not be zero.
+
+Takes no extra arguments.
 @end table
 @end deftp