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

#30 PersistentKeepAlive should be specified in the config file of the host which is behind NAT. #33

Merged
merged 2 commits into from
Sep 6, 2023

Conversation

rudolfbyker
Copy link
Contributor

For your consideration :)

Closes #30

I would like to do some refactoring after this, but I wanted to check what you think of my solution, first.

@rudolfbyker
Copy link
Contributor Author

rudolfbyker commented Feb 27, 2023

I realize that PRs #32 and #33 conflict with each other (not with master). If you merge either, I will rebase the other to fix the conflict.

@mwt
Copy link

mwt commented Jun 1, 2023

I agree. PersistantKeepalive is basically irrelevant if you don't do #32, but this is definitely the right way to think about the option. If keepalive is set, it should apply to all peers in a given config.

.gitignore Show resolved Hide resolved
@k4yt3x k4yt3x merged commit aac994f into k4yt3x:master Sep 6, 2023
@k4yt3x
Copy link
Owner

k4yt3x commented Sep 6, 2023

I've done some tests based on the code you've submitted and it appears to work great. Thanks for the PR and sorry for the slow response time, got too many things going on right now.

@rudolfbyker rudolfbyker deleted the issue-30-persistent-keep-alive branch September 6, 2023 07:20
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.

Bug: PersistentKeepalive is added to the wrong side.
3 participants