]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: frontend: make ->accept only return +/-1
authorWilly Tarreau <w@1wt.eu>
Sun, 5 Apr 2015 09:52:08 +0000 (11:52 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 6 Apr 2015 09:37:34 +0000 (11:37 +0200)
commitc5a7ff4a86e67f1e80eda0218ef8c3174c4e2586
tree0a3499a3bebb5f4cb39b15e3f73e795db2597d1e
parent342bfb180cb1b85ad80661e61230deff33870ba3
MEDIUM: frontend: make ->accept only return +/-1

This function was specified as being able to return 3 states, which had
repercussions to the stream accept function. It was used at the time
when the frontend would do the monitoring itself. This is not the case
anymore, so let's simplify this.
src/frontend.c
src/stream.c