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

Inbound governor idle timeout #3844

Merged
merged 1 commit into from
Jun 28, 2022
Merged

Conversation

coot
Copy link
Contributor

@coot coot commented Jun 28, 2022

For local connections the inbound governor should not force the idleness
timeout. Some clients relay letting the connection idle after it was
negotiated and before any mini-protocol is started.

We keep the connection manager idle timeout, this is only used for
outbound connections, and thus not related to node-to-client protocol.

Fixes #3843

@coot coot changed the title Inbound governor idle timeoout Inbound governor idle timeout Jun 28, 2022
@coot coot force-pushed the coot/inbound-governor-timeout branch from ad69b3f to 7c8931c Compare June 28, 2022 11:36
@coot coot added node-to-client Issues & PRs related to node-to-client protocols inbound-governor Issues / PRs related to inbound-governor labels Jun 28, 2022
@coot coot requested a review from bolt12 June 28, 2022 11:37
For local connections the inbound governor should not force the idleness
timeout.  Some clients relay letting the connection idle after it was
negotiated and before any mini-protocol is started.

We keep the connection manager idle timeout, this is only used for
outbound connections, and thus not related to `node-to-client` protocol.
@coot coot force-pushed the coot/inbound-governor-timeout branch from 7c8931c to d389672 Compare June 28, 2022 14:19
@coot
Copy link
Contributor Author

coot commented Jun 28, 2022

bors merge

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Jun 28, 2022

@iohk-bors iohk-bors bot merged commit 18efc8c into master Jun 28, 2022
@iohk-bors iohk-bors bot deleted the coot/inbound-governor-timeout branch June 28, 2022 18:16
iohk-bors bot added a commit that referenced this pull request Nov 9, 2022
4120: Cherry picked network changes for cardano-node-1.35.5 release r=coot a=coot

This cherry-picked patches from the following PRs:

* #3794
* #3844
* #3785
* #3904
* #3915
* #3852
* #3970
* #3979
* #4015
* #4067
* #4004
* #4086
* #4113
* #4106
* #4127
* #4103

Also cherry-picked almost all the commits which modify GitHub actions:
* 18c5244 Run GitHub Actions on pull requests   
* 3adf5a9 Use newer version of io-sim           
* ee9b7a6 Fix GH Actions Windows CI: switch from pkgconf to pkg-config 
* e6cf074 github-actions: use `ubuntu-latest`   
* 9a8b959 Updated versions of github actions    
* fc8f8f0 Fix GH Actions Windows CI caching     
* 7f07c40 Windows Github Actions now use MSYS2  
* b21a7ce Fix chocolatey CI error
* #4134               

TODO:

* [x] bump versions of packages
* [x] input-output-hk/cardano-haskell-packages#84

Co-authored-by: Mark Tullsen <[email protected]>
Co-authored-by: Marcin Szamotulski <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inbound-governor Issues / PRs related to inbound-governor node-to-client Issues & PRs related to node-to-client protocols
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change local_PROTOCOL_IDLE_TIMEOUT
2 participants