diff options
Diffstat (limited to 'src/microhttpd/connection.c')
-rw-r--r-- | src/microhttpd/connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c index 4753d6eb..9dba3431 100644 --- a/src/microhttpd/connection.c +++ b/src/microhttpd/connection.c | |||
@@ -882,7 +882,7 @@ keepalive_possible (struct MHD_Connection *connection) | |||
882 | #ifdef UPGRADE_SUPPORT | 882 | #ifdef UPGRADE_SUPPORT |
883 | if ( (MHD_str_equal_caseless_ (end, | 883 | if ( (MHD_str_equal_caseless_ (end, |
884 | "upgrade")) && | 884 | "upgrade")) && |
885 | (NULL == connection->response->upgrade_handler) ) | 885 | (NULL == connection->response || NULL == connection->resp˙onse->upgrade_handler) ) |
886 | return MHD_NO; | 886 | return MHD_NO; |
887 | #endif /* UPGRADE_SUPPORT */ | 887 | #endif /* UPGRADE_SUPPORT */ |
888 | 888 | ||