aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/internal.h')
-rw-r--r--src/microhttpd/internal.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h
index adf2c660..feee0aab 100644
--- a/src/microhttpd/internal.h
+++ b/src/microhttpd/internal.h
@@ -834,6 +834,15 @@ struct MHD_Connection
834 */ 834 */
835 int tls_read_ready; 835 int tls_read_ready;
836 836
837 /**
838 * Is the connection suspended?
839 */
840 int suspended;
841
842 /**
843 * Is the connection wanting to resume?
844 */
845 int resuming;
837#endif 846#endif
838}; 847};
839 848
@@ -894,6 +903,16 @@ struct MHD_Daemon
894 struct MHD_Connection *connections_tail; 903 struct MHD_Connection *connections_tail;
895 904
896 /** 905 /**
906 * Head of doubly-linked list of our current but suspended connections.
907 */
908 struct MHD_Connection *suspended_connections_head;
909
910 /**
911 * Tail of doubly-linked list of our current but suspended connections.
912 */
913 struct MHD_Connection *suspended_connections_tail;
914
915 /**
897 * Head of doubly-linked list of connections to clean up. 916 * Head of doubly-linked list of connections to clean up.
898 */ 917 */
899 struct MHD_Connection *cleanup_head; 918 struct MHD_Connection *cleanup_head;
@@ -1088,6 +1107,11 @@ struct MHD_Daemon
1088 */ 1107 */
1089 int shutdown; 1108 int shutdown;
1090 1109
1110 /*
1111 * Do we need to process resuming connections?
1112 */
1113 int resuming;
1114
1091 /** 1115 /**
1092 * Limit on the number of parallel connections. 1116 * Limit on the number of parallel connections.
1093 */ 1117 */