mirror of
https://github.com/haproxy/haproxy.git
synced 2026-03-24 03:13:06 -04:00
MEDIUM: mux-h1: Split h1_process_mux() to make code more readable
h1_process_mux() function was pretty huge a quite hard to debug. So, the funcion is split in sub-functions. Each sub-function is responsible to a part of the message (start-line, headers, payload, trailers...). We are still relying on a HTTP parser to format the message to be sure to detect errors. Functionnaly speaking, there is no change. But the code is now more readable.
This commit is contained in:
parent
8fe3a33328
commit
723c73f8a7
1 changed files with 926 additions and 545 deletions
1471
src/mux_h1.c
1471
src/mux_h1.c
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue