Skip to content

Commit 48af25e

Browse files
committed
fix: failing test
1 parent 077f183 commit 48af25e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: t/07-keepalive.t

+3-2
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,8 @@ keep-alive
498498
}
499499
500500
ngx.say(res.headers["Connection"])
501-
ngx.say(httpc:set_keepalive())
501+
local ok, err = httpc:set_keepalive()
502+
ngx.say(err)
502503
503504
httpc:connect({
504505
scheme = "http",
@@ -517,7 +518,7 @@ keep-alive
517518
GET /a
518519
--- response_body
519520
keep-alive
520-
0
521+
response not fully read
521522
0
522523
--- no_error_log
523524
[error]

0 commit comments

Comments
 (0)