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 timeout to socket accept #584

Merged
merged 2 commits into from
Feb 25, 2024
Merged

Add timeout to socket accept #584

merged 2 commits into from
Feb 25, 2024

Conversation

vinc
Copy link
Owner

@vinc vinc commented Feb 25, 2024

This will avoid blocking indefinitely while waiting for a connection.

We will now be able to use CTRL + C when running socket -l 80 to exit the program.

@vinc vinc self-assigned this Feb 25, 2024
@vinc vinc removed their assignment Feb 25, 2024
@vinc vinc marked this pull request as ready for review February 25, 2024 08:48
@vinc vinc merged commit acd213b into trunk Feb 25, 2024
1 check passed
@vinc vinc deleted the feature/socket-accept-timeout branch February 25, 2024 08:48
@vinc vinc mentioned this pull request Mar 19, 2024
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