aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/connection.c')
-rw-r--r--src/microhttpd/connection.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index d1ecd339..2d3d5671 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -1145,6 +1145,10 @@ keepalive_possible (struct MHD_Connection *connection)
1145 if ( (NULL != connection->response) && 1145 if ( (NULL != connection->response) &&
1146 (0 != (connection->response->flags & MHD_RF_HTTP_VERSION_1_0_ONLY) ) ) 1146 (0 != (connection->response->flags & MHD_RF_HTTP_VERSION_1_0_ONLY) ) )
1147 return MHD_NO; 1147 return MHD_NO;
1148 if ( (NULL != connection->response) &&
1149 (0 != (connection->response->flags_auto
1150 & MHD_RAF_HAS_CONNECTION_CLOSE) ) )
1151 return MHD_NO;
1148 1152
1149 if (MHD_IS_HTTP_VER_1_1_COMPAT (connection->http_ver) && 1153 if (MHD_IS_HTTP_VER_1_1_COMPAT (connection->http_ver) &&
1150 ( (NULL == connection->response) || 1154 ( (NULL == connection->response) ||