[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 01/03: test_upgrade: changed the order of send/receive
From: |
gnunet |
Subject: |
[libmicrohttpd] 01/03: test_upgrade: changed the order of send/receive |
Date: |
Thu, 04 Jan 2024 14:47:22 +0100 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 156e10012c539472c0387c5904d4c29b257499af
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Tue Jan 2 15:46:10 2024 +0300
test_upgrade: changed the order of send/receive
---
src/microhttpd/test_upgrade.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/microhttpd/test_upgrade.c b/src/microhttpd/test_upgrade.c
index 8264e13b..b612d169 100644
--- a/src/microhttpd/test_upgrade.c
+++ b/src/microhttpd/test_upgrade.c
@@ -1444,16 +1444,16 @@ run_usock (void *cls)
{
struct MHD_UpgradeResponseHandle *urh = cls;
- send_all_stext (usock,
- "Hello");
recv_all_stext (usock,
- "World");
+ "Hello");
send_all_stext (usock,
+ "World");
+ recv_all_stext (usock,
"Finished");
if (! test_tls)
{
- send_eof (usock);
receive_eof (usock);
+ send_eof (usock);
}
MHD_upgrade_action (urh,
MHD_UPGRADE_ACTION_CLOSE);
@@ -1478,16 +1478,16 @@ run_usock_client (void *cls)
send_all_stext (sock,
"GET / HTTP/1.1\r\nHost: localhost\r\nConnection:
Upgrade\r\n\r\n");
recv_hdr (sock);
- recv_all_stext (sock,
- "Hello");
send_all_stext (sock,
- "World");
+ "Hello");
recv_all_stext (sock,
+ "World");
+ send_all_stext (sock,
"Finished");
if (! test_tls)
{
- receive_eof (sock);
send_eof (sock);
+ receive_eof (sock);
}
wr_close (sock);
client_done = true;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] branch master updated (8bb89d0b -> 47f5f725), gnunet, 2024/01/04
- [libmicrohttpd] 01/03: test_upgrade: changed the order of send/receive,
gnunet <=
- [libmicrohttpd] 03/03: test_upgrade{,_large}{,_tls}: unified code, removed workarounds, added new test, gnunet, 2024/01/04
- [libmicrohttpd] 02/03: MHD_OPTION_CONNECTION_MEMORY_{LIMIT,INCREMENT}: added ignore of zero value, gnunet, 2024/01/04