aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2017-03-19 11:46:22 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2017-03-19 11:46:22 +0300
commit192f1e9fab410e9fea914d2a4eefcfadd2180e78 (patch)
tree0b298d04e08ef5530a04b3ea0ac53001150ee9b0
parent9fec9b35ec46ce51cdda1f7e264f48b9f02f2f4d (diff)
downloadlibmicrohttpd-192f1e9fab410e9fea914d2a4eefcfadd2180e78.tar.gz
libmicrohttpd-192f1e9fab410e9fea914d2a4eefcfadd2180e78.zip
call_handlers(): added clarifying comment.
-rw-r--r--src/microhttpd/daemon.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 3d9d95df..03266204 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -1203,6 +1203,9 @@ call_handlers (struct MHD_Connection *con,
1203 * zero timeout for next select()/poll(). */ 1203 * zero timeout for next select()/poll(). */
1204 /* Thread-per-connection do not need global zero timeout as 1204 /* Thread-per-connection do not need global zero timeout as
1205 * connections are processed individually. */ 1205 * connections are processed individually. */
1206 /* Note: no need to check for read buffer availability for
1207 * TLS read-ready connection in 'read info' state as connection
1208 * without space in read buffer will be market as 'info block'. */
1206 if ( (!con->daemon->data_already_pending) && 1209 if ( (!con->daemon->data_already_pending) &&
1207 (0 == (con->daemon->options & MHD_USE_THREAD_PER_CONNECTION)) ) 1210 (0 == (con->daemon->options & MHD_USE_THREAD_PER_CONNECTION)) )
1208 { 1211 {