Skip to content

Commit 1e0a93a

Browse files
authored
Merge pull request simon987#6 from fatchan/5-connection-leak
Add missing call to ngx_http_finalize_request(), seems to be the solu…
2 parents 58f4691 + 15681a0 commit 1e0a93a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ngx_http_js_challenge.c

+1
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ int serve_challenge(ngx_http_request_t *r, const char *challenge, const char *ht
235235
ngx_http_send_header(r);
236236

237237
ngx_http_output_filter(r, &out);
238+
ngx_http_finalize_request(r, 0);
238239
return NGX_DONE;
239240
}
240241

0 commit comments

Comments
 (0)