Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Change rtorrentscript to use rtxmlrpc #134

Merged
merged 1 commit into from Jan 5, 2020

Conversation

flatmapthatshit
Copy link
Contributor

Use pyrocore's rtxmlrpc client instead of xmlrpc

The listening port can now be changed even when ENABLE_RPC2=no.

Back in October @binhex implemented dynamic port reload. Unfortunately
the initial version requires XMLRPC to be exposed to the outside world
(i.e., an RPC2 location has to be exposed in NGINX). When ENABLE_RPC2
is disabled the initial version fails to set the new port, thus
rTorrent becomes unconnectable.

rtxmlrpc on the other hand is able to connect directly to rTorrent's
SGCI port (5000) entirely bypassing NGINX. As a bonus the script does
not need to be aware of NGINX auth credentials.

See also: #124

Use pyrocore's rtxmlrpc client instead of xmlrpc

The listening port can now be changed even when ENABLE_RPC2=no.

Back in October @binhex implemented dynamic port reload. Unfortunately
the initial version requires XMLRPC to be exposed to the outside world
(i.e., an RPC2 location has to be exposed in NGINX). When ENABLE_RPC2
is disabled the initial version fails to set the new port, thus
rTorrent becomes unconnectable.

rtxmlrpc on the other hand is able to connect directly to rTorrent's
SGCI port (5000) entirely bypassing NGINX. As a bonus the script does
not need to be aware of NGINX auth credentials.

See also: binhex#124
@binhex binhex merged commit ad18f28 into binhex:master Jan 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants