mirror of
https://github.com/aria2/aria2.git
synced 2025-01-04 09:03:46 +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) {
|
if(seq == SEQ_RECV_GREETING) {
|
||||||
setTimeout(getOption()->getAsInt(PREF_CONNECT_TIMEOUT));
|
setTimeout(getOption()->getAsInt(PREF_CONNECT_TIMEOUT));
|
||||||
}
|
}
|
||||||
|
setWriteCheckSocket(getSocket());
|
||||||
}
|
}
|
||||||
|
|
||||||
FtpNegotiationCommand::~FtpNegotiationCommand() {}
|
FtpNegotiationCommand::~FtpNegotiationCommand() {}
|
||||||
|
Loading…
Reference in New Issue
Block a user