diff options
Diffstat (limited to 'src/microhttpd/connection.c')
-rw-r--r-- | src/microhttpd/connection.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c index f192a1bb..7380c662 100644 --- a/src/microhttpd/connection.c +++ b/src/microhttpd/connection.c | |||
@@ -2446,8 +2446,6 @@ MHD_connection_handle_read (struct MHD_Connection *connection) | |||
2446 | case MHD_CONNECTION_UPGRADE: | 2446 | case MHD_CONNECTION_UPGRADE: |
2447 | EXTRA_CHECK (0); | 2447 | EXTRA_CHECK (0); |
2448 | break; | 2448 | break; |
2449 | case MHD_CONNECTION_UPGRADE_CLOSED: | ||
2450 | break; | ||
2451 | #endif /* UPGRADE_SUPPORT */ | 2449 | #endif /* UPGRADE_SUPPORT */ |
2452 | default: | 2450 | default: |
2453 | /* shrink read buffer to how much is actually used */ | 2451 | /* shrink read buffer to how much is actually used */ |
@@ -2635,8 +2633,6 @@ MHD_connection_handle_write (struct MHD_Connection *connection) | |||
2635 | case MHD_CONNECTION_UPGRADE: | 2633 | case MHD_CONNECTION_UPGRADE: |
2636 | EXTRA_CHECK (0); | 2634 | EXTRA_CHECK (0); |
2637 | break; | 2635 | break; |
2638 | case MHD_CONNECTION_UPGRADE_CLOSED: | ||
2639 | break; | ||
2640 | #endif /* UPGRADE_SUPPORT */ | 2636 | #endif /* UPGRADE_SUPPORT */ |
2641 | default: | 2637 | default: |
2642 | EXTRA_CHECK (0); | 2638 | EXTRA_CHECK (0); |
@@ -3202,8 +3198,6 @@ MHD_connection_handle_idle (struct MHD_Connection *connection) | |||
3202 | #ifdef UPGRADE_SUPPORT | 3198 | #ifdef UPGRADE_SUPPORT |
3203 | case MHD_CONNECTION_UPGRADE: | 3199 | case MHD_CONNECTION_UPGRADE: |
3204 | return MHD_YES; /* keep open */ | 3200 | return MHD_YES; /* keep open */ |
3205 | case MHD_CONNECTION_UPGRADE_CLOSED: | ||
3206 | return MHD_YES; /* "Upgraded" connection should be closed in special way. */ | ||
3207 | #endif /* UPGRADE_SUPPORT */ | 3201 | #endif /* UPGRADE_SUPPORT */ |
3208 | default: | 3202 | default: |
3209 | EXTRA_CHECK (0); | 3203 | EXTRA_CHECK (0); |