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

Implement disconnection of cached ConnectionPool connections #2287

Merged
merged 7 commits into from Mar 29, 2019

Conversation

s-ludwig
Copy link
Member

@s-ludwig s-ludwig commented Mar 28, 2019

No description provided.

@s-ludwig s-ludwig force-pushed the connectionpool_disconnect branch from 15ab4d0 to da42058 Compare Mar 28, 2019
s-ludwig added 7 commits Mar 29, 2019
Allows to disconnect all connections that are not currently in use. In particular, it allows to close all connections at shutdown to avoid leaking socket descriptors.

fixup remove logic
There was a case where previous errors propagated to the construction of a new TLS stream.
Disconnects any unused connections to the server.
@s-ludwig s-ludwig force-pushed the connectionpool_disconnect branch from 4cf2598 to 7acac03 Compare Mar 29, 2019
@dlang-bot dlang-bot merged commit 06ba331 into master Mar 29, 2019
3 checks passed
@s-ludwig s-ludwig deleted the connectionpool_disconnect branch Mar 30, 2019
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.

None yet

3 participants