Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion t/014-bugs.t
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@ ok
--- config
location /t {
resolver $TEST_NGINX_RESOLVER ipv6=off;
set $myhost 'localhost.';
set $myhost '127.0.0.1.sslip.io.';
proxy_pass http://$myhost:$TEST_NGINX_RAND_PORT_1/t;
}
--- request
Expand Down
2 changes: 1 addition & 1 deletion t/024-access/on-abort.t
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ delete thread 1
$
--- timeout: 0.2
--- abort
--- wait: 0.2
--- wait: 1
--- ignore_response
--- no_error_log
[error]
Expand Down
6 changes: 3 additions & 3 deletions t/058-tcp-socket.t
Original file line number Diff line number Diff line change
Expand Up @@ -210,15 +210,15 @@ attempt to send data on a closed socket:
content_by_lua '
local sock = ngx.socket.tcp()
local port = $TEST_NGINX_SERVER_PORT
local ok, err = sock:connect("localhost", port)
local ok, err = sock:connect("127.0.0.1.sslip.io", port)
if not ok then
ngx.say("failed to connect: ", err)
return
end

ngx.say("connected: ", ok)

local req = "GET /foo HTTP/1.0\\r\\nHost: localhost\\r\\nConnection: close\\r\\n\\r\\n"
local req = "GET /foo HTTP/1.0\\r\\nHost: 127.0.0.1.sslip.io\\r\\nConnection: close\\r\\n\\r\\n"
-- req = "OK"

local bytes, err = sock:send(req)
Expand Down Expand Up @@ -256,7 +256,7 @@ attempt to send data on a closed socket:
GET /t
--- response_body_like
connected: 1
request sent: 57
request sent: 66
first line received: HTTP\/1\.1 200 OK
second line received: (?:Date|Server): .*?
--- no_error_log
Expand Down
2 changes: 1 addition & 1 deletion t/128-duplex-tcp-socket.t
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ F(ngx_http_lua_socket_tcp_finalize_write_part) {
--- tcp_query_len: 11
--- no_error_log
[error]
--- wait: 0.05
--- wait: 0.5



Expand Down
3 changes: 3 additions & 0 deletions t/189-http2-subreq-error-wakeup.t
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ __DATA__
--- http2
--- request
GET /delay
--- curl_options: --max-time=0.9
--- timeout: 1
--- abort
--- ignore_response
Expand Down Expand Up @@ -100,6 +101,7 @@ Parent request finished, got response from subrequest
--- http2
--- request
GET /outer
--- curl_options: --max-time=0.9
--- timeout: 1
--- abort
--- ignore_response
Expand Down Expand Up @@ -160,6 +162,7 @@ Outer request completed
--- http2
--- request
GET /parallel
--- curl_options: --max-time=0.9
--- timeout: 1
--- abort
--- ignore_response
Expand Down