commit | d655ffe8632ad117c13fc0a370a8314e30c2e922 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Apr 02 01:48:58 2013 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Apr 02 02:01:00 2013 +0200 |
tree | 289754a349c95fe862f809cbf488e86ce6036b4f | |
parent | 0161d62d23d227dd6bd50914bae3103f098fd7ea [diff] |
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).