gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] branch master updated: add connection: close to 401 repl


From: gnunet
Subject: [libmicrohttpd] branch master updated: add connection: close to 401 replies (experimental, under review)
Date: Wed, 08 Jan 2020 17:57:32 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new e0aacd94 add connection: close to 401 replies (experimental, under 
review)
e0aacd94 is described below

commit e0aacd946e1e2efdd352c31e86682d631baa86b2
Author: Christian Grothoff <address@hidden>
AuthorDate: Wed Jan 8 17:53:53 2020 +0100

    add connection: close to 401 replies (experimental, under review)
---
 src/microhttpd/digestauth.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c
index 98ce433a..5a01cdf7 100644
--- a/src/microhttpd/digestauth.c
+++ b/src/microhttpd/digestauth.c
@@ -1414,6 +1414,12 @@ MHD_queue_auth_fail_response2 (struct MHD_Connection 
*connection,
                                        header);
       else
         ret = MHD_NO;
+#if 0
+      if ( (MHD_YES == ret) && (AND in state : 100 continue aborting ...))
+        ret = MHD_add_response_header (response,
+                                       MHD_HTTP_HEADER_CONNECTION,
+                                       "close");
+#endif
       free (header);
     }
     else

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]