diff options
Diffstat (limited to 'src/microhttpd/internal.h')
-rw-r--r-- | src/microhttpd/internal.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h index 5d61705a..111af62f 100644 --- a/src/microhttpd/internal.h +++ b/src/microhttpd/internal.h | |||
@@ -1374,7 +1374,7 @@ struct MHD_Daemon | |||
1374 | /** | 1374 | /** |
1375 | * Listen socket. | 1375 | * Listen socket. |
1376 | */ | 1376 | */ |
1377 | MHD_socket socket_fd; | 1377 | MHD_socket listen_fd; |
1378 | 1378 | ||
1379 | /** | 1379 | /** |
1380 | * Whether to allow/disallow/ignore reuse of listening address. | 1380 | * Whether to allow/disallow/ignore reuse of listening address. |
@@ -1426,6 +1426,13 @@ struct MHD_Daemon | |||
1426 | volatile bool shutdown; | 1426 | volatile bool shutdown; |
1427 | 1427 | ||
1428 | /** | 1428 | /** |
1429 | * Has this deamon been quiesced via #MHD_quiesce_daemon()? | ||
1430 | * If so, we should no longer use the @e listen_fd (including | ||
1431 | * removing it from the @e epoll_fd when possible). | ||
1432 | */ | ||
1433 | volatile bool was_quiesced; | ||
1434 | |||
1435 | /** | ||
1429 | * Did we hit some system or process-wide resource limit while | 1436 | * Did we hit some system or process-wide resource limit while |
1430 | * trying to accept() the last time? If so, we don't accept new | 1437 | * trying to accept() the last time? If so, we don't accept new |
1431 | * connections until we close an existing one. This effectively | 1438 | * connections until we close an existing one. This effectively |