commit | 0cac36f4156fd73802e19352a513f7220865c9df | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Nov 30 20:44:17 2008 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun Nov 30 20:44:17 2008 +0100 |
tree | 4ab158fae429e2bac67bc283b15cb81770306ae8 | |
parent | 2d3d94cf23c11b6aef2a31cdc49562983136a546 [diff] |
[MEDIUM] make the http server error function a pointer in the session It was a bit awkward to have session.c call return_srv_error() for HTTP error messages related to servers. The function has been adapted to be passed a pointer to the faulty stream interface, and is now a pointer in the session. It is possible that in the future, it will become a callback in the stream interface itself.