httpcats icon indicating copy to clipboard operation
httpcats copied to clipboard

Expose server_connection functions to user

Open ada2k opened this issue 1 year ago • 2 comments

This allows for the user to use httpcats while writing their own server loop, which is essential for a number of usecases including parsing of the tcp PROXY protocol or custom logging code/logic that must run before a request is parsed. There is also a small change to the signature of handlers to avoid an assert false when H2 is impossible.

ada2k avatar Jun 21 '24 18:06 ada2k

Not sure to understand the goal of this PR but I just added the ability to manipulate the underlying flow into the server handler (needed when we use the CONNECT method and try to implement a proxy with httpcats).

dinosaure avatar Aug 28 '24 09:08 dinosaure

I see the goal when I figure out only the mli. I made an issue to express what this PR wants to solve.

dinosaure avatar Aug 08 '25 10:08 dinosaure