CLEANUP: http: make http_server_error() not set the status anymore
authorWilly Tarreau <w@1wt.eu>
Tue, 14 Mar 2017 10:07:31 +0000 (11:07 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 14 Mar 2017 10:09:04 +0000 (11:09 +0100)
commit2019f95997d6747d6df010739476e5dccca13548
treeeda95413680b217896ad3ea1cce6fd2aaf865323
parent800d1761d0bb2ee2d0951d2e39b8b163479158cd
CLEANUP: http: make http_server_error() not set the status anymore

Given that all call places except one had to set txn->status prior to
calling http_server_error(), it's simpler to make this function rely
on txn->status than have it store it from an argument.
src/proto_http.c