Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

Commit 4d9e5fc

Browse files
authored
Fix ignored return code in ps_simple_handler() (#1468)
Fix for #1465
1 parent 65761a2 commit 4d9e5fc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ngx_pagespeed.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2704,8 +2704,7 @@ ngx_int_t ps_simple_handler(ngx_http_request_t* r,
27042704
}
27052705
}
27062706

2707-
send_out_headers_and_body(r, response_headers, output);
2708-
return NGX_OK;
2707+
return send_out_headers_and_body(r, response_headers, output);
27092708
}
27102709

27112710
void ps_beacon_handler_helper(ngx_http_request_t* r,

0 commit comments

Comments
 (0)