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

Add a Endpoint.destroy which closes active connections #269

Merged
merged 1 commit into from
Aug 17, 2017

Conversation

djs55
Copy link
Collaborator

@djs55 djs55 commented Aug 8, 2017

Previously there was no way to locate the connections associated with
an endpoint to shut them down. This patch adds a map of TCP id to
unit Lwt.u and a function Endpoint.destroy which triggers the
disconnection of all the active connections.

Related to #260

Signed-off-by: David Scott [email protected]

@djs55
Copy link
Collaborator Author

djs55 commented Aug 8, 2017

The purpose of this PR is to run the CI and build a binary we can experiment with.

@djs55 djs55 force-pushed the remove-connection-leak branch from 99d38ca to e961686 Compare August 17, 2017 09:25
@djs55 djs55 changed the title [DO NOT MERGE] Add a Endpoint.destroy which closes active connections Add a Endpoint.destroy which closes active connections Aug 17, 2017
Previously there was no way to locate the connections associated with
an endpoint to shut them down. This patch adds a map of TCP `id` to
`unit Lwt.u` and a function `Endpoint.destroy` which triggers the
disconnection of all the active connections.

Related to moby#260

Signed-off-by: David Scott <[email protected]>
@djs55 djs55 force-pushed the remove-connection-leak branch from e961686 to 36b23db Compare August 17, 2017 09:47
@djs55 djs55 merged commit 0bc671f into moby:master Aug 17, 2017
@djs55 djs55 deleted the remove-connection-leak branch August 17, 2017 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant