[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 02/05: test_upgrade{,_large}: fixed HTTP/1.1 compatibili
From: |
gnunet |
Subject: |
[libmicrohttpd] 02/05: test_upgrade{,_large}: fixed HTTP/1.1 compatibility |
Date: |
Sat, 26 Nov 2022 18:08:16 +0100 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit fcf9a2d29cdfc0f98f1cb379f8a673b90dc80701
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sun Nov 20 13:24:13 2022 +0300
test_upgrade{,_large}: fixed HTTP/1.1 compatibility
---
src/microhttpd/test_upgrade.c | 2 +-
src/microhttpd/test_upgrade_large.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/microhttpd/test_upgrade.c b/src/microhttpd/test_upgrade.c
index fb4bdadf..4a24c3c5 100644
--- a/src/microhttpd/test_upgrade.c
+++ b/src/microhttpd/test_upgrade.c
@@ -920,7 +920,7 @@ run_usock_client (void *cls)
struct wr_socket *sock = cls;
send_all (sock,
- "GET / HTTP/1.1\r\nConnection: Upgrade\r\n\r\n");
+ "GET / HTTP/1.1\r\nHost: localhost\r\nConnection:
Upgrade\r\n\r\n");
recv_hdr (sock);
recv_all (sock,
"Hello");
diff --git a/src/microhttpd/test_upgrade_large.c
b/src/microhttpd/test_upgrade_large.c
index 2374574e..9d344406 100644
--- a/src/microhttpd/test_upgrade_large.c
+++ b/src/microhttpd/test_upgrade_large.c
@@ -1103,7 +1103,7 @@ run_usock_client (void *cls)
struct wr_socket *sock = cls;
send_all (sock,
- "GET / HTTP/1.1\r\nConnection: Upgrade\r\n\r\n");
+ "GET / HTTP/1.1\r\nHost: localhost\r\nConnection:
Upgrade\r\n\r\n");
recv_hdr (sock);
recv_all (sock,
LARGE_STRING);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] branch master updated (1ffe7932 -> 3444792f), gnunet, 2022/11/26
- [libmicrohttpd] 02/05: test_upgrade{,_large}: fixed HTTP/1.1 compatibility,
gnunet <=
- [libmicrohttpd] 01/05: testcurl: fixed checking response headers as null-terminated string, gnunet, 2022/11/26
- [libmicrohttpd] 03/05: test_get_iovec: fixed missing include headers, gnunet, 2022/11/26
- [libmicrohttpd] 04/05: configure: fixed detection of eventfd() with new compilers builds, gnunet, 2022/11/26
- [libmicrohttpd] 05/05: Refactored user-poison: minimized scope of non-sanitized code, gnunet, 2022/11/26