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

feat: abort opening client connections quickly while user interrupt program #375

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nicoxb
Copy link

@nicoxb nicoxb commented Oct 17, 2022

No description provided.

@nicoxb nicoxb changed the title feat: fast abort opening client connections while user interrupt program feat: abort opening client connections quickly while user interrupt program Oct 18, 2022
@bojand
Copy link
Owner

bojand commented Nov 7, 2022

Hello thank you for the PR, can you elaborate some more on the issue this resolved, with perhaps on some steps on how to reproduce. I just want to make sure I understand the issue and PR fully.

@nicoxb
Copy link
Author

nicoxb commented Mar 13, 2023

Hello thank you for the PR, can you elaborate some more on the issue this resolved, with perhaps on some steps on how to reproduce. I just want to make sure I understand the issue and PR fully.

When I set a large number of connections, the function openClientConns may take a long time to execute. During this period, although the program is able to receive the Ctrl+C signal, it cannot terminate the program. The program will only stop executing when the number of connections created exceeds the computer's resource limit.

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