From 192f1e9fab410e9fea914d2a4eefcfadd2180e78 Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Sun, 19 Mar 2017 11:46:22 +0300 Subject: [PATCH] call_handlers(): added clarifying comment. --- src/microhttpd/daemon.c | 3 +++ 1 file changed, 3 insertions(+) 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, * zero timeout for next select()/poll(). */ /* Thread-per-connection do not need global zero timeout as * connections are processed individually. */ + /* Note: no need to check for read buffer availability for + * TLS read-ready connection in 'read info' state as connection + * without space in read buffer will be market as 'info block'. */ if ( (!con->daemon->data_already_pending) && (0 == (con->daemon->options & MHD_USE_THREAD_PER_CONNECTION)) ) {