Open vilicvane opened 2 days ago
That's not a publicly exposed method outside the crate. What are you actually calling, and what behavior is problematic?
I didn't call it directly, it just resulted in aborting the h2 connection in my case.
send_open()
.Related lines in my codebase:
I am having some issue with tunneling TCP using h2, it aborts the connection after the server (usually speedtest servers) resets the connection and h2 trying to
send_open()
.Not sure if this should be tolerated by h2 or to be handled by my code. I tried to do an early return with a
Closed
state and it seems to fix my problem.https://github.com/hyperium/h2/blob/77be6648e5c6da22f51e5049347496335a032288/src/proto/streams/state.rs#L91-L129
Any suggestions on a proper workaround?