s4cmd icon indicating copy to clipboard operation
s4cmd copied to clipboard

Add adjustable timeout setting

Open mrjfox opened this issue 9 years ago • 2 comments

When trying to download a very large multipart file i would like to be able to adjust the timeout setting on the socket from the current default 5min.

eg: --socket-timeout=30s

SOCKET_TIMEOUT = 5 * 60 # in sec(s) (timeout if we don't receive any recv() callback)

mrjfox avatar Oct 27 '15 01:10 mrjfox

Maybe I'm not sure what you mean, but SOCKET_TIMEOUT is for socket which doesn't receive any data for a while. Not for your case which large files are downloaded. Am I missing something here?

chouhanyang avatar May 11 '16 23:05 chouhanyang

@mrjfox Any update on the info requested?

navinpai avatar May 21 '18 20:05 navinpai