Synchronized access to methods in all torrent adapters (notably Transmission) to ensure parallel execution of requests don't interfere with static session codes/authentication tokens.
@ -86,7 +86,7 @@ public class QbittorrentAdapter implements IDaemonAdapter {
@@ -86,7 +86,7 @@ public class QbittorrentAdapter implements IDaemonAdapter {
@ -375,7 +375,7 @@ public class TransmissionAdapter implements IDaemonAdapter {
@@ -375,7 +375,7 @@ public class TransmissionAdapter implements IDaemonAdapter {
@ -412,6 +412,8 @@ public class TransmissionAdapter implements IDaemonAdapter {
@@ -412,6 +412,8 @@ public class TransmissionAdapter implements IDaemonAdapter {
DLog.d(LOG_NAME,"Receive HTTP 409 with new session code; now try again for the actual request");
@ -323,7 +323,7 @@ public class UtorrentAdapter implements IDaemonAdapter {
@@ -323,7 +323,7 @@ public class UtorrentAdapter implements IDaemonAdapter {
// TODO: It would be nicer to now split each of these steps into separate makeVuzeCalls when there are multiple logical steps such as stopping a torrent before removing it