Skip to content

Commit e1f7244

Browse files
committed
tell nginx to not process further handlers
1 parent d8f7f5e commit e1f7244

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ngx_http_js_challenge.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,8 @@ int serve_challenge(ngx_http_request_t *r, const char *challenge, const char *ht
235235
r->headers_out.content_length_n = size;
236236
ngx_http_send_header(r);
237237

238-
return ngx_http_output_filter(r, &out);
238+
ngx_http_output_filter(r, &out);
239+
return NGX_DONE;
239240
}
240241

241242

0 commit comments

Comments
 (0)