Ticket #5533: 5533.patch

File 5533.patch, 552 bytes (added by Tautvydas Andrikys, 12 years ago)

Fix for unix based servers

  • src/engine/ftpcontrolsocket.cpp

    #5533 WRT110 router - FTP upload problem - Timeouts on large files
    
    Decreased keep-alive packet frequence this should help in this case
    
    diff -r a5172d37b9d0 -r 8beded4bcfbc src/engine/ftpcontrolsocket.cpp
    a b  
    45244524    if (span.GetSeconds() >= (60 * 30))
    45254525        return;
    45264526
    4527     m_idleTimer.Start(30000, true);
     4527    m_idleTimer.Start(20000, true);
    45284528}
    45294529
    45304530int CFtpControlSocket::ParseSubcommandResult(int prevResult)