-
Notifications
You must be signed in to change notification settings - Fork 855
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
rpcap: add timeout configuration on socket connect #1091
base: master
Are you sure you want to change the base?
Conversation
e952adb
to
94d6ed2
Compare
38f59f7
to
7255939
Compare
Thank you for preparing these changes and addressing the CI feedback. Please do not include the regenerated |
Signed-off-by: Kevin Boulain <[email protected]> Signed-off-by: Gabriel Ganne <[email protected]>
Done. Sorry, I forgot to clean them out of the PR. |
The second commit ("rpcap: set keepalives on rpcap's control socket") is almost an exact copy of the changes from pull request #773, which still requires significant work to become good for merging (see the detailed comments there). |
Allow to set a custom timeout to the connect to avoid waiting minutes for nothing should the connect() call fail. Signed-off-by: Kevin Boulain <[email protected]> Signed-off-by: Gabriel Ganne <[email protected]>
Hi @infrastation I'm willing to take over #773 and do the requested changes. |
@GabrielGanne, please go ahead with your version of the TCP keepalive patch. |
Does this work for rpcap-over-TLS connections? |
Hi,
This is a small proposal to allow to configure the connection timeout for rpcap sockets.
This is just to avoid waiting minutes for nothing should the connect() call fail.
Best regards,