Skip to content

Conversation

@ada2k
Copy link

@ada2k ada2k commented Jun 21, 2024

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.

@dinosaure
Copy link
Contributor

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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants