Skip to content

Commit 5c9308b

Browse files
committed
fix: use keepalive_supported instead of keepalive
1 parent 48af25e commit 5c9308b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: t/15-instance-reuse.t

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ location /a {
5353
assert(res3 ~= res2, "responses should be unique tables")
5454
assert(res3.headers ~= res2.headers, "headers should be unique tables")
5555

56-
assert(httpc.keepalive == false, "keepalive flag should be false")
56+
assert(httpc.keepalive_supported == false, "keepalive flag should be false")
5757

5858
assert(httpc:connect("127.0.0.1", ngx.var.server_port),
5959
"connect should return positively")
6060

61-
assert(httpc.keepalive == true, "keepalive flag should be true")
61+
assert(httpc.keepalive_supported == true, "keepalive flag should be true")
6262

6363
}
6464
}

0 commit comments

Comments
 (0)