]> git.ipfire.org Git - thirdparty/haproxy.git/commit
OPTIM: http: optimize the response forward state machine
authorWilly Tarreau <w@1wt.eu>
Mon, 1 Apr 2013 23:48:58 +0000 (01:48 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 2 Apr 2013 00:01:00 +0000 (02:01 +0200)
commitd655ffe8632ad117c13fc0a370a8314e30c2e922
tree289754a349c95fe862f809cbf488e86ce6036b4f
parent0161d62d23d227dd6bd50914bae3103f098fd7ea
OPTIM: http: optimize the response forward state machine

By replacing the if/else series with a switch/case, we could save
another 20% on the worst case (chunks of 1 byte).
src/proto_http.c