commit | db4893d6a4168601cc855114d58e9cdbe587df42 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Sep 21 08:40:02 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sun Oct 22 09:54:13 2017 +0200 |
tree | a776ac6f7298caf5295a24716872c3e67e16f851 | |
parent | 0da5b3bddce07dc4a57f5ce9dd97af9a8ab626f0 [diff] |
REORG: http: move the HTTP/1 chunk parser to h1.{c,h} Functions http_parse_chunk_size(), http_skip_chunk_crlf() and http_forward_trailers() were moved to h1.h and h1.c respectively so that they can be called from outside. The parts that were inline remained inline as it's critical for performance (+41% perf difference reported in an earlier test). For now the "http_" prefix remains in their name since they still depend on the http_msg type.