Skip to content

Commit 9750a81

Browse files
committed
tests: fixed new test failure due to openresty.org server changes.
1 parent b2af4d3 commit 9750a81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/129-ssl-socket.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ SSL reused session
573573
574574
ngx.say("ssl handshake: ", type(session))
575575
576-
local req = "GET / HTTP/1.1\\r\\nHost: agentzh.org\\r\\nConnection: close\\r\\n\\r\\n"
576+
local req = "GET /en/linux-packages.html HTTP/1.1\\r\\nHost: openresty.com\\r\\nConnection: close\\r\\n\\r\\n"
577577
local bytes, err = sock:send(req)
578578
if not bytes then
579579
ngx.say("failed to send http request: ", err)
@@ -602,7 +602,7 @@ GET /t
602602
--- response_body
603603
connected: 1
604604
ssl handshake: userdata
605-
sent http request: 56 bytes.
605+
sent http request: 80 bytes.
606606
received: HTTP/1.1 404 Not Found
607607
close: 1 nil
608608

0 commit comments

Comments
 (0)