On Tue, Mar 28, 2006 at 01:05:38PM -0500, Adam Ringel wrote:
> Unfortunately it is still hanging with the patch.  I recompiled with -g

Please try this one.

--
   Alexander.
Index: lftp_ssl.cc
===================================================================
RCS file: /home/lav/cvsroot/lftp/src/lftp_ssl.cc,v
retrieving revision 1.28
diff -u -p -r1.28 lftp_ssl.cc
--- lftp_ssl.cc 6 Feb 2006 10:57:31 -0000       1.28
+++ lftp_ssl.cc 29 Mar 2006 14:15:24 -0000
@@ -514,6 +514,7 @@ int lftp_ssl_gnutls::do_handshake()
       }
    }
    handshake_done=true;
+   SMTask::current->Timeout(0);
 
    if(gnutls_certificate_type_get(session)!=GNUTLS_CRT_X509)
    {
@@ -883,6 +884,7 @@ int lftp_ssl_openssl::do_handshake()
       }
    }
    handshake_done=true;
+   SMTask::current->Timeout(0);
    return DONE;
 }
 int lftp_ssl_openssl::read(char *buf,int size)

Reply via email to