]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] set s->srv_error according to the analysers
authorWilly Tarreau <w@1wt.eu>
Sun, 16 Aug 2009 20:45:38 +0000 (22:45 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 16 Aug 2009 20:45:38 +0000 (22:45 +0200)
commit52a0c60845196b18542570166cb96db4d7942e5c
treefcfa2906480295f06b97114608a12675bb39d01a
parentc1a2167e9da22b3d93b13282a791ae5c17b3ac05
[MINOR] set s->srv_error according to the analysers

s->srv_error was set depending on the frontend's protocol. Now it is
set by the HTTP analyser, so that even when switching from a TCP
frontend to an HTTP backend, we can have HTTP error messages.
src/client.c
src/proto_http.c