diff options
Diffstat (limited to 'src/microhttpd/response.c')
-rw-r--r-- | src/microhttpd/response.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c index 7df2a0c6..ca3639f4 100644 --- a/src/microhttpd/response.c +++ b/src/microhttpd/response.c | |||
@@ -460,10 +460,12 @@ del_response_header_connection (struct MHD_Response *response, | |||
460 | * encoding, however for HTTP/1.0 clients chunked encoding will not be used | 460 | * encoding, however for HTTP/1.0 clients chunked encoding will not be used |
461 | * and manually set "Transfer-Encoding" header is automatically removed | 461 | * and manually set "Transfer-Encoding" header is automatically removed |
462 | * for HTTP/1.0 clients | 462 | * for HTTP/1.0 clients |
463 | * + "Connection" is added automatically with value "Keep-Alive" or "Close". | 463 | * + "Connection" may be added automatically with value "Keep-Alive" (only |
464 | * The header "Connection" with value "Close" could be set by this function | 464 | * for HTTP/1.0 clients) or "Close". The header "Connection" with value |
465 | * to enforce closure of the connection after sending this response. | 465 | * "Close" could be set by this function to enforce closure of |
466 | * "Keep-Alive" cannot be enforced and will be removed automatically. | 466 | * the connection after sending this response. "Keep-Alive" cannot be |
467 | * enforced and will be removed automatically. | ||
468 | * @see #MHD_RF_SEND_KEEP_ALIVE_HEADER | ||
467 | * | 469 | * |
468 | * Some headers are pre-processed by this function: | 470 | * Some headers are pre-processed by this function: |
469 | * * "Connection" headers are combined into single header entry, value is | 471 | * * "Connection" headers are combined into single header entry, value is |