aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-06-21 13:26:32 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2021-06-21 13:26:32 +0300
commit4cce973ea2ff3e4466ded5f66ecce2cfefec8b40 (patch)
tree202f05d2c5a5b5e857da5b7fd2cfb9e8bab69e1b
parent0560bb099cd55690f48ccdd95a99810f745c9657 (diff)
downloadlibmicrohttpd-4cce973ea2ff3e4466ded5f66ecce2cfefec8b40.tar.gz
libmicrohttpd-4cce973ea2ff3e4466ded5f66ecce2cfefec8b40.zip
MHD_queue_response(): fixed check for HTTP/1.0 mode
-rw-r--r--src/microhttpd/connection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index e274ace5..9a8209ed 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -4318,8 +4318,8 @@ MHD_queue_response (struct MHD_Connection *connection,
4318#endif 4318#endif
4319 return MHD_NO; 4319 return MHD_NO;
4320 } 4320 }
4321 if (0 != response->flags & (MHD_RF_HTTP_VERSION_1_0_ONLY 4321 if (0 != (response->flags & (MHD_RF_HTTP_VERSION_1_0_ONLY
4322 | MHD_RF_HTTP_VERSION_1_0_RESPONSE)) 4322 | MHD_RF_HTTP_VERSION_1_0_RESPONSE)))
4323 { 4323 {
4324#ifdef HAVE_MESSAGES 4324#ifdef HAVE_MESSAGES
4325 MHD_DLOG (daemon, 4325 MHD_DLOG (daemon,