[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] branch master updated: Do not "keep-alive"
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] branch master updated: Do not "keep-alive" if "upgrade" was requested |
Date: |
Thu, 13 Jul 2017 21:33:37 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
The following commit(s) were added to refs/heads/master by this push:
new 17a75e59 Do not "keep-alive" if "upgrade" was requested
17a75e59 is described below
commit 17a75e59233b8af60b4135f297a187fdad7929b2
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Thu Jul 13 22:30:32 2017 +0300
Do not "keep-alive" if "upgrade" was requested
---
src/microhttpd/connection.c | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 3eb3cc3b..bbebfc57 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -1113,13 +1113,8 @@ keepalive_possible (struct MHD_Connection *connection)
if (MHD_lookup_header_s_token_ci (connection,
MHD_HTTP_HEADER_CONNECTION,
"upgrade"))
- {
-#ifdef UPGRADE_SUPPORT
- if ( (NULL == connection->response) ||
- (NULL == connection->response->upgrade_handler) )
-#endif /* UPGRADE_SUPPORT */
- return MHD_NO;
- }
+ return MHD_NO;
+
if (MHD_lookup_header_s_token_ci (connection,
MHD_HTTP_HEADER_CONNECTION,
"close"))
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [libmicrohttpd] branch master updated: Do not "keep-alive" if "upgrade" was requested,
gnunet <=