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.h23
1 files changed, 4 insertions, 19 deletions
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h
index 3bedf8ed..094c26ba 100644
--- a/src/microhttpd/internal.h
+++ b/src/microhttpd/internal.h
@@ -1171,11 +1171,6 @@ struct MHD_Connection
1171 uint64_t connection_timeout_ms; 1171 uint64_t connection_timeout_ms;
1172 1172
1173 /** 1173 /**
1174 * Special member to be returned by #MHD_get_connection_info()
1175 */
1176 unsigned int connection_timeout_dummy;
1177
1178 /**
1179 * Did we ever call the "default_handler" on this connection? (this 1174 * Did we ever call the "default_handler" on this connection? (this
1180 * flag will determine if we call the #MHD_OPTION_NOTIFY_COMPLETED 1175 * flag will determine if we call the #MHD_OPTION_NOTIFY_COMPLETED
1181 * handler when the connection closes down). 1176 * handler when the connection closes down).
@@ -1343,16 +1338,6 @@ struct MHD_Connection
1343 gnutls_session_t tls_session; 1338 gnutls_session_t tls_session;
1344 1339
1345 /** 1340 /**
1346 * Memory location to return for protocol session info.
1347 */
1348 int protocol;
1349
1350 /**
1351 * Memory location to return for protocol session info.
1352 */
1353 int cipher;
1354
1355 /**
1356 * State of connection's TLS layer 1341 * State of connection's TLS layer
1357 */ 1342 */
1358 enum MHD_TLS_CONN_STATE tls_state; 1343 enum MHD_TLS_CONN_STATE tls_state;
@@ -1370,14 +1355,14 @@ struct MHD_Connection
1370 bool suspended; 1355 bool suspended;
1371 1356
1372 /** 1357 /**
1373 * Special member to be returned by #MHD_get_connection_info() 1358 * Is the connection wanting to resume?
1374 */ 1359 */
1375 int suspended_dummy; 1360 volatile bool resuming;
1376 1361
1377 /** 1362 /**
1378 * Is the connection wanting to resume? 1363 * Special member to be returned by #MHD_get_connection_info()
1379 */ 1364 */
1380 volatile bool resuming; 1365 union MHD_ConnectionInfo connection_info_dummy;
1381}; 1366};
1382 1367
1383 1368