Skip to content
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

Allow keep alive connection through the proxy #5765

Closed
avderin opened this issue Jun 4, 2021 · 0 comments · Fixed by #8920
Closed

Allow keep alive connection through the proxy #5765

avderin opened this issue Jun 4, 2021 · 0 comments · Fixed by #8920

Comments

@avderin
Copy link

avderin commented Jun 4, 2021

Once ago there was a merged pr - #3070 that disabled keep-alive connections through the proxy. There was a suggestion to make this functionality switchable in discussion.

Keep-alive with the proxy sometimes is need. E.g. to establish ntlm authorization the client must send 2 requests in one connection (a handshake). Current aiohttp logic restricts it, closing the connection on the first request.

I suggest to allow keep-alive connection when client explicitly sets keep-alive header.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant