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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 7db660cb..a01ca32e 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -1873,7 +1873,7 @@ build_header_response (struct MHD_Connection *connection)
1873 { 1873 {
1874 use_conn_close = false; 1874 use_conn_close = false;
1875 /* As "Keep-Alive" is default for HTTP/1.1, add "Connection: keep-alive" 1875 /* As "Keep-Alive" is default for HTTP/1.1, add "Connection: keep-alive"
1876 * header only if explicitly requested by app (by using reponse flag), 1876 * header only if explicitly requested by app (by using response flag),
1877 * if request is HTTP/1.0 or if reply is HTTP/1.0. */ 1877 * if request is HTTP/1.0 or if reply is HTTP/1.0. */
1878 if ((0 != (r->flags & MHD_RF_SEND_KEEP_ALIVE_HEADER)) || 1878 if ((0 != (r->flags & MHD_RF_SEND_KEEP_ALIVE_HEADER)) ||
1879 (MHD_HTTP_VER_1_0 == c->http_ver) || 1879 (MHD_HTTP_VER_1_0 == c->http_ver) ||