diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2017-01-21 21:42:05 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2017-01-21 21:42:05 +0300 |
commit | 313e750c65cecfce85c1eed4f73c71196fecbac8 (patch) | |
tree | ada8a679208873ab09ef0fdcf537a70dee973a5a /src/microhttpd/internal.h | |
parent | d196c6cd6428ebb36a0bd90bfcd0bad422ef09ef (diff) | |
download | libmicrohttpd-313e750c65cecfce85c1eed4f73c71196fecbac8.tar.gz libmicrohttpd-313e750c65cecfce85c1eed4f73c71196fecbac8.zip |
Fixed processing epoll with many connections to accept.
If 'accept_pending' were set to 'true' not connection transfer occurred.
Additionally 'accept_pending' never reset to false.
Diffstat (limited to 'src/microhttpd/internal.h')
-rw-r--r-- | src/microhttpd/internal.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h index 8f6e09f8..c9d21aa4 100644 --- a/src/microhttpd/internal.h +++ b/src/microhttpd/internal.h | |||
@@ -1405,13 +1405,6 @@ struct MHD_Daemon | |||
1405 | */ | 1405 | */ |
1406 | int listen_socket_in_epoll; | 1406 | int listen_socket_in_epoll; |
1407 | 1407 | ||
1408 | /** | ||
1409 | * true if we have more incoming connections to be accepted from | ||
1410 | * the last event-loop iteration (and might not be triggered for | ||
1411 | * those explicitly anymore), false if we drained the queue. | ||
1412 | */ | ||
1413 | bool accept_pending; | ||
1414 | |||
1415 | #if defined(HTTPS_SUPPORT) && defined(UPGRADE_SUPPORT) | 1408 | #if defined(HTTPS_SUPPORT) && defined(UPGRADE_SUPPORT) |
1416 | /** | 1409 | /** |
1417 | * File descriptor associated with the #run_epoll_for_upgrade() loop. | 1410 | * File descriptor associated with the #run_epoll_for_upgrade() loop. |