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:
Christopher Faulet 2023-06-20 13:33:01 +02:00
parent 8fe3a33328
commit 723c73f8a7
1 changed files with 926 additions and 545 deletions

File diff suppressed because it is too large Load Diff