aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-06-22 08:28:49 +0000
committerChristian Grothoff <christian@grothoff.org>2011-06-22 08:28:49 +0000
commita84334b18d15984b881f8eace7149c5ee9581837 (patch)
tree1ad5be6d7b73e0dca067e4c7a3acd1f8cf8a482b
parent21bf15d021e2215c337141ec18c121b983687d46 (diff)
downloadlibmicrohttpd-a84334b18d15984b881f8eace7149c5ee9581837.tar.gz
libmicrohttpd-a84334b18d15984b881f8eace7149c5ee9581837.zip
docu
-rw-r--r--ChangeLog5
-rw-r--r--doc/microhttpd.texi7
-rw-r--r--src/include/microhttpd.h9
3 files changed, 16 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 09d5f798..833d8f91 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
1Wed Jun 22 10:25:13 CEST 2011
2 Eliminate unnecessary (and badly synchronized) calls to
3 MHD_get_timeout in MHD_USE_THREAD_PER_CONNECTION mode.
4 Document that this is not acceptable. -CG
5
1Tue Jun 21 13:54:59 CEST 2011 6Tue Jun 21 13:54:59 CEST 2011
2 Fixing tiny memory leak in SSL code from 'gnutls_priority_init'. 7 Fixing tiny memory leak in SSL code from 'gnutls_priority_init'.
3 Fixing data race between code doing connection shutdown and 8 Fixing data race between code doing connection shutdown and
diff --git a/doc/microhttpd.texi b/doc/microhttpd.texi
index a4aab191..f7a90cea 100644
--- a/doc/microhttpd.texi
+++ b/doc/microhttpd.texi
@@ -1165,7 +1165,12 @@ the right options for this call.
1165Obtain timeout value for select for this daemon (only needed if 1165Obtain timeout value for select for this daemon (only needed if
1166connection timeout is used). The returned value is how long 1166connection timeout is used). The returned value is how long
1167@cfunction{select} should at most block, not the timeout value set for 1167@cfunction{select} should at most block, not the timeout value set for
1168connections. 1168connections. This function must not be called if the
1169@code{MHD_USE_THREAD_PER_CONNECTION} mode is in use (since then it
1170is not meaningful to ask for a timeout, after all, there is
1171concurrenct activity). The function must also not be called by
1172user-code if @code{MHD_USE_INTERNAL_SELECT} is in use. In the latter
1173case, the behavior is undefined.
1169 1174
1170@table @var 1175@table @var
1171@cindex timeout 1176@cindex timeout
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index 27d3d40b..6ee66237 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -1083,10 +1083,11 @@ MHD_get_fdset (struct MHD_Daemon *daemon,
1083 fd_set * write_fd_set, fd_set * except_fd_set, int *max_fd); 1083 fd_set * write_fd_set, fd_set * except_fd_set, int *max_fd);
1084 1084
1085/** 1085/**
1086 * Obtain timeout value for select for this daemon 1086 * Obtain timeout value for select for this daemon (only needed if
1087 * (only needed if connection timeout is used). The 1087 * connection timeout is used). The returned value is how long select
1088 * returned value is how long select should at most 1088 * should at most block, not the timeout value set for connections.
1089 * block, not the timeout value set for connections. 1089 * This function MUST NOT be called if MHD is running with
1090 * "MHD_USE_THREAD_PER_CONNECTION".
1090 * 1091 *
1091 * @param daemon daemon to query for timeout 1092 * @param daemon daemon to query for timeout
1092 * @param timeout set to the timeout (in milliseconds) 1093 * @param timeout set to the timeout (in milliseconds)