Open kannibalox opened 1 year ago
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?
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.
A bit of a work in progress, it really needs some commands for properly parameter setting, and a build flag.