Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on May 21, 2022. It is now read-only.

Conversation

@DunyaKokoschka
Copy link

@DunyaKokoschka DunyaKokoschka commented Apr 15, 2021

If we receive a timeout while waiting for a response then it is possible to
return the connection back to the pool while we are still waitiing for the
response. For HTTP/1.1 this will trigger the pipelining logic within Mint.
However, Mint does not let us call stream_request_body while pipelining
requests. Also, pipelining is not necessarily desirable since the client
has to wait for their previous timed out response to be received before
they are able to receive the response for their new request.

…uests

If we receive a timeout while waiting for a response then it is possible to
return the connection back to the pool while we are still waitiing for the
response. For HTTP/1.1 this will trigger the pipelining logic within Mint.
However, Mint does not let us call stream_request_body while pipelining
requests. Also, pipelining is not necessarily desirable since the client
has to wait for their previous timed out response to be received before
they are able to receive the response for their new request.
@DunyaKokoschka DunyaKokoschka changed the title Fix returning HTTP/1.1 connections back to the pool with inflight req… Fix returning HTTP/1.1 connections back to the pool with inflight requests Apr 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant