- Notifications
You must be signed in to change notification settings - Fork1.7k
Fix HTTP/1.0 'Keep-Alive' handling in http_client#1032
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Conversation
BillyONeal commentedJan 28, 2019
I'm somewhat concerned with making the http_version field public because the other backends don't understand that, and callers could get the idea that we're going out of our way to support a 1.0 (rather than 1.1) mode. Perhaps some friends are in order? There's also a concern here that this theoretically could expose one connection in the connection pool to both HTTP versions; but the version probably should probably be consistent across a connection. |
garethsb commentedJan 28, 2019 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Thanks for the review. I wasn't intending to make it any more public than it was - just add it to the internal implementation of |
garethsb commentedJan 28, 2019
Regarding this point:
I don't have a particular opinion on this, except that if a client makes an HTTP/1.1 request, it may get a HTTP/1.0 response, so the connection changes at that point at least? |
garethsb commentedJan 30, 2019
@BillyONeal If there any particular changes that would enable you to merge this to master, please let me know. It would be possible to avoid storing the Thanks |
…hsb-http_client-1_0
BillyONeal commentedFeb 11, 2019
Looking at some of the types here again, it looks like we're already leaking internal implementation details all over the place prefixed with a _leading_underscore, so I guess this doesn't change the current status quo. The remaining non-flaky test failure is from an Android SDK update that got pushed on us by Azure Pipelines I'm trying to fix in a separate PR. Thanks for your contribution! |
No description provided.