]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: frontend: move the fd-specific settings to session_accept_fd()
authorWilly Tarreau <w@1wt.eu>
Sun, 5 Apr 2015 15:56:47 +0000 (17:56 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 6 Apr 2015 09:37:35 +0000 (11:37 +0200)
commitf9d1bc6d9a0dfa098500b6029b6fcc94b00eeac9
tree7437f6c6a4287e104a8d6b38c6c8b245363d65e3
parent99eb0f13bc08311912cec6e6b0893f634b78664c
MEDIUM: frontend: move the fd-specific settings to session_accept_fd()

The frontend is generic and does not depend on a file descriptor,
so applying some socket options to the incoming fd is not its role.
Let's move the setsockopt() calls earlier in session_accept_fd()
where others are done as well.
src/frontend.c
src/session.c