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

DRAFT: Add http2 support #69

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kannibalox
Copy link
Contributor

@kannibalox kannibalox commented Sep 2, 2023

A bit of a work in progress, it really needs some commands for properly parameter setting, and a build flag.

@kannibalox kannibalox changed the title Add http2 support DRAFT: Add http2 support Sep 17, 2023
@Elegant996
Copy link

Feel like this would compliment rtorrent-ws. Not sure if that project assists with your implementation but the use of shared_lock/shared_mutex could provide increase performance?

@kannibalox
Copy link
Contributor Author

kannibalox commented Sep 18, 2023

This isn't a code change, rTorrent (even vanilla) supports HTTP/2 natively as long as curl is built with the right libraries. This simply bring support to the locally-built curl, and adds a couple curl options to make it take full advantage of HTTP/2's capabilities for announces. It should be able to co-exist with the websocket work without any changes.

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.

2 participants