]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: stream-int: return the allocated appctx in stream_int_register_handler()
authorWilly Tarreau <w@1wt.eu>
Sun, 1 Dec 2013 08:35:41 +0000 (09:35 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 9 Dec 2013 14:40:23 +0000 (15:40 +0100)
commit1fbe1c9ec83e7cdcbcd6e0f902277039900adfb5
treeae840ad12345b393f56e72e341a4456ff0a5f364
parent7b4b499fde4d63db45148d3460ff060eb3378054
MEDIUM: stream-int: return the allocated appctx in stream_int_register_handler()

The task returned by stream_int_register_handler() is never used, however we
always need to access the appctx afterwards. So make it return the appctx
instead. We already plan for it to fail, which is the reason for the addition
of a few tests and the possibility for the HTTP analyser to return a status
code 500.
include/proto/stream_interface.h
src/dumpstats.c
src/peers.c
src/proto_http.c
src/stream_interface.c