-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
proxy can error due to HTTP/2 stream resets #754
Comments
I'm seeing something like this:
when I just terminate my HTTP server that conduit is proxying for, while processing a response and not having written anything to it yet. Is this related? Sounds like it could be. Or should I file a separate issue for that? |
@seeekr no, that would be different. A panic in the proxy will in most cases make it crash, not report a 500 error. As to your issue... you're killing an HTTP server mid-response? Seems like the proxy seeing that and returning 500 is correct. |
Thanks @seanmonstar. If that's what it's doing then that is acceptable behavior. Just wasn't sure if this indicated a problem on conduit's part which I should look into understanding, since I was overall seeing some weird behavior in terms of connectivity for my service. (Killing it mid-response was not great, of course, and I've since changed that to be a little more graceful.) Keep up the good work! 👍 |
hyperium/h2#258 will fix this. We learned that the conduit proxy will not panic in these situations, as it is built in release-mode. Panics are limited to debug builds. |
Fixed in hyperium/h2#258. @olix0r please re-open if this is still an issue. |
I would leave this open for now. There still is one known issue. Relates to hyperium/h2#261 and hyperium/h2#259. |
I have squashed many bugs. There is still some work I would like to get done, then I will release a new crate. Please ping me if this is not closed by next release. |
This required updating a few transitive dependencies to make the version requirements work out. Closes #754 Signed-off-by: Carl Lerche <me@carllerche.com>
h2-0.1.7 fixes a whole slew of state management corner-cases |
As described in hyperium/h2#256, it's possible for some stream resets to cause
h2
to panic. This is very likely to impact the proxy. @carllerche @seanmonstarThe text was updated successfully, but these errors were encountered: