-
Notifications
You must be signed in to change notification settings - Fork 461
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
Disable HTTP/2 by default #903
Conversation
See #866, but once in a while when using HTTP/2, stripe-go sends an empty request body which then results in a 400 back from the server. We tracked the issue down to this one open on the Go language's HTTP/2 implementation: golang/go#32441 For now, the best thing we can do is disable HTTP/2 by default for new integrations. When the bug is fixed, we can turn it back on again.
// | ||
// https://github.com/golang/go/issues/32441 | ||
// | ||
// This is particularly problematic for this library because the empty body |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great comment; thanks for capturing all the context in here. It's my sincere hope that we can re-enable H/2 support soon, when that Go issue gets addressed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! And yep, totally +1.
Thanks Dylan! |
Released as 61.20.0. |
… debugging (#903) * Added some readme documentation, and some dev support items for local debugging * Fix build error * Fix build error take 2 * Sorbet is fun * Update spring.rb More fun with sorbet. * Update spring.rb Even more Sorbet fun
See #866, but once in a while when using HTTP/2, stripe-go sends an
empty request body which then results in a 400 back from the server.
We tracked the issue down to this one open on the Go language's HTTP/2
implementation:
golang/go#32441
For now, the best thing we can do is disable HTTP/2 by default for new
integrations. When the bug is fixed, we can turn it back on again.
r? @dcarney-stripe
cc @stripe/api-libraries