New issue 8 by medvitz: Unable to connect Exception thrown when using
set-location to move across filesystems
http://code.google.com/p/php-transmission-class/issues/detail?id=8
What steps will reproduce the problem?
1. use move function to move torrent contents across filesystems
2. if data moved is > 200-300 MB, "Unable to Connect" Exception is thrown.
Data is still moved, even if multiple torrents. Seems as though
transmission doesn't send any sort of response until the request is
complete causing fopen is timing out. As an aside, I cannot reconnect to
the RPC server until the request completes, although this is likely a
function of transmission, rather than this library
Warning: fopen(http://localhost:9091/transmission/rpc): failed to open
stream: HTTP request failed! in
/homedir/Development/down/TransmissionRPC.class.php on line 399
Comment #1 on issue 8 by brycied...@gmail.com: Unable to connect Exception
thrown when using set-location to move across filesystems
http://code.google.com/p/php-transmission-class/issues/detail?id=8
Hey thanks for the report! (And sorry for the delay)
I haven't been able to reproduce this myself, but I can see how this would
happen on slower hardware. I'll see if I can come up with a good
solution... but to be frank, I can't think of one. Disabling the socket
read timeout for a single method isn't exactly good practice, and leaves
the only script timeout to be PHPs max runtime.
For the time being, I'm marking this WontFix... but I may change my mind,
or Johan may have an idea.