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

Feature close #16

Merged
merged 3 commits into from
Jun 6, 2020
Merged

Feature close #16

merged 3 commits into from
Jun 6, 2020

Conversation

cognusion
Copy link
Contributor

Hi :) I needed to close this puppy down ( as did #14 ) and tried to stay as minimally invasive as possible. Using a select{} inside the for{}, and a 2 second deadline before the Accept(), allows for reliable closure of the listener. The closure is terminal, and an entire new FtpServer needs to be rolled up if it's to be used thereafter.

@yob yob merged commit 4b98110 into yob:master Jun 6, 2020
@yob
Copy link
Owner

yob commented Jun 6, 2020

Thanks!

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.

2 participants