[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] 80/154: fix regression introduced in cc5032
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] 80/154: fix regression introduced in cc5032b85 |
Date: |
Mon, 19 Aug 2019 10:16:32 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository libmicrohttpd.
commit cd41be4046bcfce5f61670f76613d4cc04303571
Author: Christian Grothoff <address@hidden>
AuthorDate: Thu Jul 25 14:41:32 2019 +0200
fix regression introduced in cc5032b85
---
ChangeLog | 11 ++++++++---
src/include/microhttpd.h | 2 +-
src/microhttpd/connection.c | 4 ++--
3 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 6a057b73..c45326df 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
+Thu 25 Jul 2019 02:40:12 PM CEST
+ Fixing regression introduced in cc5032b85 (bit mask matching
+ of the header kinds in MHD_lookup_connection_value()), as
+ reported by Jose Bollo on the mailinglist. -CG/JB
+
Tue Jul 16 19:56:14 CEST 2019
- Add MHD_OPTION_HTTPS_CERT_CALLBACK2 to allow OCSP stapling
- and MHD_FEATURE_HTTPS_CERT_CALLBACK2 to check for. -TR
+ Add MHD_OPTION_HTTPS_CERT_CALLBACK2 to allow OCSP stapling
+ and MHD_FEATURE_HTTPS_CERT_CALLBACK2 to check for. -TR
Fri Jul 05 2019 22:30:40 MSK
Releasing libmicrohttpd 0.9.65. -EG
@@ -102,7 +107,7 @@ Sun Apr 21 16:40:00 MSK 2019
Fri Apr 19 23:00:00 MSK 2019
Rewritten SHA-256 calculations from scratch to avoid changing LGPL
version;
- Added usage of GCC/Clang built-ins for bytes swap to significantly
improve
+ Added usage of GCC/Clang built-ins for bytes swap to significantly
improve
speed of MD5 and SHA-256 calculation on platforms with known endianness.
Added test for SHA-256 calculations. -EG
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index 9d28cdb1..4c05ffac 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -132,7 +132,7 @@ typedef intptr_t ssize_t;
* Current version of the library.
* 0x01093001 = 1.9.30-1.
*/
-#define MHD_VERSION 0x00096502
+#define MHD_VERSION 0x00096503
/**
* MHD-internal return code for "YES".
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 8cc3490b..87c77c29 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -1040,7 +1040,7 @@ MHD_lookup_connection_value_n (struct MHD_Connection
*connection,
{
for (pos = connection->headers_received; NULL != pos; pos = pos->next)
{
- if ( (kind == pos->kind) &&
+ if ( (0 != (kind & pos->kind)) &&
(NULL == pos->header) )
break;
}
@@ -1049,7 +1049,7 @@ MHD_lookup_connection_value_n (struct MHD_Connection
*connection,
{
for (pos = connection->headers_received; NULL != pos; pos = pos->next)
{
- if ( (kind == pos->kind) &&
+ if ( (0 != (kind & pos->kind)) &&
(key_size == pos->header_size) &&
( (key == pos->header) ||
(MHD_str_equal_caseless_bin_n_ (key,
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [GNUnet-SVN] [libmicrohttpd] 70/154: conditionally return and setsockopt., (continued)
- [GNUnet-SVN] [libmicrohttpd] 70/154: conditionally return and setsockopt., gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 74/154: fix failure to build., gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 73/154: Start reworking into generic setsockopt wrapper., gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 84/154: Merge branch 'dev/ng0/gsoc2019' of gnunet.org:libmicrohttpd into dev/ng0/gsoc2019, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 77/154: fix, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 78/154: buffersize, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 90/154: show not tell, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 81/154: Merge branch 'dev/ng0/gsoc2019' of git+ssh://gnunet.org/libmicrohttpd into dev/ng0/gsoc2019, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 83/154: post_cork function first draft, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 63/154: attempt fix., gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 80/154: fix regression introduced in cc5032b85,
gnunet <=
- [GNUnet-SVN] [libmicrohttpd] 92/154: simplify, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 103/154: test, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 93/154: simplify, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 107/154: test for MGS_MORE existing, not its non-existince., gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 76/154: indent, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 101/154: don't cast, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 87/154: remove code, add prototype to mhd_send.h, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 117/154: ., gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 125/154: Merge remote-tracking branch 'origin/master' into dev/ng0/gsoc2019, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 129/154: swap _NODELAY and _NOPUSH, gnunet, 2019/08/19