test_upgrade{,_large}: fixed HTTP/1.1 compatibility

This commit is contained in:
Evgeny Grin (Karlson2k)
2023-03-31 18:50:25 +02:00
parent d1045cc1d1
commit 008930af12
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -720,7 +720,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");
+1 -1
View File
@@ -907,7 +907,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);