]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: session: only call http_send_name_header() when changing the server
authorWilly Tarreau <w@1wt.eu>
Sun, 7 Apr 2013 16:19:16 +0000 (18:19 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 11 Apr 2013 16:18:01 +0000 (18:18 +0200)
commit1e5dfdad7789497e7cd9636f0fe5b5e48045352d
tree40b1db10ef669863e42f958dd18c8ae545b06739
parent9d9179b5818eb6d6eafe2f9880c8a07806c3f77d
MINOR: session: only call http_send_name_header() when changing the server

Till now we used to call the function until the connection established, which
means that the header rewriting was performed for nothing upon each even (eg:
uploaded contents) until the server responded or timed out.

Now we only call the function when we assign the server.
src/session.c