Skip to content

Commit 0581262

Browse files
authored
bugfix: ensure context is restorable on fd writable events.
1 parent bf94a7a commit 0581262

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ngx_http_lua_bodyfilterby.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@ ngx_http_lua_body_filter(ngx_http_request_t *r, ngx_chain_t *in)
368368
}
369369

370370
} else {
371+
ctx->context = old_context;
371372
out = NULL;
372373
}
373374

0 commit comments

Comments
 (0)