Fix HTTP/1.0 'Keep-Alive' handling in http_client#1032
Fix HTTP/1.0 'Keep-Alive' handling in http_client#1032BillyONeal merged 2 commits intomicrosoft:masterfrom
Conversation
|
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. |
|
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 |
|
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? |
|
@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
|
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.