diff options
Diffstat (limited to 'src/microhttpd/connection.c')
-rw-r--r-- | src/microhttpd/connection.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c index 803eccba..a65757e3 100644 --- a/src/microhttpd/connection.c +++ b/src/microhttpd/connection.c | |||
@@ -1587,6 +1587,14 @@ MHD_connection_update_event_loop_info (struct MHD_Connection *connection) | |||
1587 | case MHD_CONNECTION_CLOSED: | 1587 | case MHD_CONNECTION_CLOSED: |
1588 | connection->event_loop_info = MHD_EVENT_LOOP_INFO_CLEANUP; | 1588 | connection->event_loop_info = MHD_EVENT_LOOP_INFO_CLEANUP; |
1589 | return; /* do nothing, not even reading */ | 1589 | return; /* do nothing, not even reading */ |
1590 | case MHD_CONNECTION_IN_CLEANUP: | ||
1591 | EXTRA_CHECK (0); | ||
1592 | break; | ||
1593 | #ifdef UPGRADE_SUPPORT | ||
1594 | case MHD_CONNECTION_UPGRADE: | ||
1595 | EXTRA_CHECK (0); | ||
1596 | break; | ||
1597 | #endif /* UPGRADE_SUPPORT */ | ||
1590 | default: | 1598 | default: |
1591 | EXTRA_CHECK (0); | 1599 | EXTRA_CHECK (0); |
1592 | } | 1600 | } |
@@ -2784,6 +2792,9 @@ MHD_connection_handle_write (struct MHD_Connection *connection) | |||
2784 | case MHD_TLS_CONNECTION_INIT: | 2792 | case MHD_TLS_CONNECTION_INIT: |
2785 | EXTRA_CHECK (0); | 2793 | EXTRA_CHECK (0); |
2786 | break; | 2794 | break; |
2795 | case MHD_CONNECTION_IN_CLEANUP: | ||
2796 | EXTRA_CHECK (0); | ||
2797 | break; | ||
2787 | #ifdef UPGRADE_SUPPORT | 2798 | #ifdef UPGRADE_SUPPORT |
2788 | case MHD_CONNECTION_UPGRADE: | 2799 | case MHD_CONNECTION_UPGRADE: |
2789 | EXTRA_CHECK (0); | 2800 | EXTRA_CHECK (0); |