commit | 3770f23a3af9ccaf33222fef8dad8966c2d73f72 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sat Dec 07 00:01:53 2013 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Dec 09 16:06:22 2013 +0100 |
tree | 90be770b7e64be55f8a63a543ad67d62f851b457 | |
parent | c8987b3664a703440ed80a2086d262898873d173 [diff] |
MINOR: http: switch the http state to an enum This reduces its size which is not reused by anything else. However it will significantly improve the debugger's output since we'll now get real state values. The default case had to be enabled in the parsers because gcc tries to optimize the switch/case and noticed some values were missing from the enums and emitted a warning.