ftp: Fix timeout when reusing FTP connection

This commit is contained in:
Tatsuhiro Tsujikawa 2015-05-28 22:14:43 +09:00
parent 2a168172dc
commit 70541498d8

View File

@ -101,6 +101,7 @@ FtpNegotiationCommand::FtpNegotiationCommand
if(seq == SEQ_RECV_GREETING) {
setTimeout(getOption()->getAsInt(PREF_CONNECT_TIMEOUT));
}
setWriteCheckSocket(getSocket());
}
FtpNegotiationCommand::~FtpNegotiationCommand() {}