mirror of
https://github.com/aria2/aria2.git
synced 2025-01-01 15:44:55 +00:00
ftp: Fix timeout when reusing FTP connection
This commit is contained in:
parent
2a168172dc
commit
70541498d8
@ -101,6 +101,7 @@ FtpNegotiationCommand::FtpNegotiationCommand
|
||||
if(seq == SEQ_RECV_GREETING) {
|
||||
setTimeout(getOption()->getAsInt(PREF_CONNECT_TIMEOUT));
|
||||
}
|
||||
setWriteCheckSocket(getSocket());
|
||||
}
|
||||
|
||||
FtpNegotiationCommand::~FtpNegotiationCommand() {}
|
||||
|
Loading…
Reference in New Issue
Block a user