We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01dfb01 commit 5872991Copy full SHA for 5872991
t/07-keepalive.t
@@ -565,6 +565,13 @@ GET /a
565
ngx.say(res.headers["Connection"])
566
ngx.say(httpc:set_keepalive())
567
568
+ httpc:connect({
569
+ scheme = "http",
570
+ host = "127.0.0.1",
571
+ port = ngx.var.server_port,
572
+ pool_only_after_response = true
573
+ })
574
+ ngx.say(httpc:get_reused_times())
575
res, err = httpc:request{
576
path = "/b"
577
}
@@ -583,6 +590,7 @@ GET /a
583
590
--- response_body
584
591
keep-alive
585
592
1
593
+1
586
594
response not fully read
587
595
--- no_error_log
588
596
[error]
0 commit comments