Skip to content

Commit 13cc84b

Browse files
LOC:1000 ka->keepalive_item
1 parent 9178aa1 commit 13cc84b

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

patch/1.27.1.1/ngx_lua-enable_keepalive.patch

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git src/ngx_http_lua_balancer.c src/ngx_http_lua_balancer.c
2-
index ae0f1380..cc407775 100644
2+
index ae0f1380..8345026d 100644
33
--- src/ngx_http_lua_balancer.c
44
+++ src/ngx_http_lua_balancer.c
55
@@ -31,10 +31,39 @@ typedef struct {
@@ -574,6 +574,15 @@ index ae0f1380..cc407775 100644
574574
}
575575

576576

577+
@@ -789,7 +966,7 @@ ngx_http_lua_balancer_dummy_handler(ngx_event_t *ev)
578+
static void
579+
ngx_http_lua_balancer_close_handler(ngx_event_t *ev)
580+
{
581+
- ngx_http_lua_balancer_ka_item_t *item;
582+
+ ngx_http_lua_balancer_keepalive_item_t *item;
583+
584+
int n;
585+
char buf[1];
577586
@@ -820,8 +997,10 @@ close:
578587
ngx_http_lua_balancer_close(c);
579588

0 commit comments

Comments
 (0)