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
1471
src/mux_h1.c
1471
src/mux_h1.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue