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

Provide non-trivial handshake timeouts #2956

Merged
merged 1 commit into from
Feb 26, 2021
Merged

Conversation

coot
Copy link
Contributor

@coot coot commented Feb 26, 2021

No description provided.

@coot coot requested a review from karknu February 26, 2021 11:24
Copy link
Contributor

@karknu karknu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@coot
Copy link
Contributor Author

coot commented Feb 26, 2021

bors merge

@coot coot added the handshake Issues/PRs related to the handshake negotation label Feb 26, 2021
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Feb 26, 2021

@iohk-bors iohk-bors bot merged commit cdf7389 into master Feb 26, 2021
@iohk-bors iohk-bors bot deleted the coot/handshake-timeouts branch February 26, 2021 12:43
coot added a commit that referenced this pull request Mar 12, 2021
* 'timeLimitsHandshake' for 'node-to-node': 10s timeout
* 'noTimeLimitsHandshake' for node-to-client': no timeout

The node-to-client protocol is assumed to be executed in a safe
environment, so there's no reason to introduce a timeout.  We spotted
a handshake timeout on node-to-client protocol in a node that had large
valency in a benchmarking cluster.  This patch restores node-to-client
handshake no timoeut before #2956.
karknu pushed a commit that referenced this pull request Mar 17, 2021
* 'timeLimitsHandshake' for 'node-to-node': 10s timeout
* 'noTimeLimitsHandshake' for node-to-client': no timeout

The node-to-client protocol is assumed to be executed in a safe
environment, so there's no reason to introduce a timeout.  We spotted
a handshake timeout on node-to-client protocol in a node that had large
valency in a benchmarking cluster.  This patch restores node-to-client
handshake no timoeut before #2956.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
handshake Issues/PRs related to the handshake negotation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants