Skip to content

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

Open
nicoxb wants to merge 1 commit into
bojand:masterfrom
nicoxb:develop
Open

feat: abort opening client connections quickly while user interrupt program#375
nicoxb wants to merge 1 commit into
bojand:masterfrom
nicoxb:develop

Conversation

@nicoxb

@nicoxb nicoxb commented Oct 17, 2022

Copy link
Copy Markdown

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

bojand commented Nov 7, 2022

Copy link
Copy Markdown
Owner

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

nicoxb commented Mar 13, 2023

Copy link
Copy Markdown
Author

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