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 --notcp flag to disable TCP. #69

Merged
merged 2 commits into from
Nov 13, 2020
Merged

Conversation

pataquets
Copy link
Contributor

Started using btfs and found it very useful. Thanks for sharing!
To decrease load on my home router, I prefer to use only UDP.
Adding a --notcp flag to make it explicit, even if libtorrent looks quite smart in trying to use UDP as much as possible. Newbie libtorrent user, I guess this way it will ensure UDP/uTP only. Feedback appreciated.
Could not come up with a convenient short switch, especially in advance of a possible --noudp switch in the future.
Also, I've used Docker for my hacking workflow. I will submit a PR soon, if interested.

@pataquets pataquets mentioned this pull request Nov 13, 2020
@johang
Copy link
Owner

johang commented Nov 13, 2020

Thanks for the patch. I will merge this if you change to --utp-only and params.utp_only.

@pataquets
Copy link
Contributor Author

Done, @johang. I like it best. Does "UDP only" implies always uTP? Just curious.

man/btfs.1 Outdated Show resolved Hide resolved
@johang johang merged commit 5615e14 into johang:master Nov 13, 2020
@pataquets pataquets deleted the add-notcp branch November 13, 2020 20:32
@pataquets pataquets mentioned this pull request Nov 16, 2020
N3frill pushed a commit to N3frill/btfs that referenced this pull request Jan 13, 2022
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.

None yet

2 participants