Skip to content

Explicitly close connection after response body ends#161

Merged
clue merged 1 commit intoclue:masterfrom
clue-labs:close-explicitly
May 5, 2020
Merged

Explicitly close connection after response body ends#161
clue merged 1 commit intoclue:masterfrom
clue-labs:close-explicitly

Conversation

@clue
Copy link
Owner

@clue clue commented May 5, 2020

This changeset ensures we explicitly close the connection after receiving the complete response body. This improves support for servers ignoring the Connection: close request header that would otherwise keep the connection open and would eventually run into a timeout even though the transfer was completed.

Resolves #102

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Explicitly close connection after response body to support servers ignoring Connection: close request header

1 participant