aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/internal.h
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2017-03-22 23:15:34 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2017-03-22 23:15:34 +0300
commitcdcc0126c6ee4e7b9265a9df95f1f9f87367c324 (patch)
tree9a344fdaf0392dccdefdf4658b93f6fdd937c558 /src/microhttpd/internal.h
parent7e1123665e5a7df29649f632e978d7ee1016ff25 (diff)
downloadlibmicrohttpd-cdcc0126c6ee4e7b9265a9df95f1f9f87367c324.tar.gz
libmicrohttpd-cdcc0126c6ee4e7b9265a9df95f1f9f87367c324.zip
Revert commit 0bc2fe6fe7442c4d15498e6867a1e58697e809c9.
Connection moved to the end of timeout list in resume_suspended_connections(), moreover suspended connections are not in DL-list (XDLL_remove may break something) and timeout DL-list is not maintained in thread-per-connection mode No need to use 'just_resumed': if connection is suspended again in first DH function, MHD_connection_update_event_loop_info will be called with 'suspended' flag set.
Diffstat (limited to 'src/microhttpd/internal.h')
-rw-r--r--src/microhttpd/internal.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h
index 3abd9731..5350c013 100644
--- a/src/microhttpd/internal.h
+++ b/src/microhttpd/internal.h
@@ -947,12 +947,6 @@ struct MHD_Connection
947 * Is the connection wanting to resume? 947 * Is the connection wanting to resume?
948 */ 948 */
949 bool resuming; 949 bool resuming;
950
951 /**
952 * Did the connection just resume? (Means we are generous
953 * in dealing with a full read buffer...).
954 */
955 bool just_resumed;
956}; 950};
957 951
958 952