On Tue, Dec 27, 2005 at 12:19:09PM +0300, Alexander V. Lukyanov wrote: Hi Alexander,
> > drwxr-xr-x 6 (?) users 512 Oct 18 16:45 . > > ls: Fatal error: gnutls_record_recv: A TLS packet with > > unexpected length was received. > > Please try this patch. > sorry for not replying for such a long time. Additonally I'm an idiot anyway. I forgot to check it with the latest version. I used 3.3 while the error above triggered. Well, with Version 3.4.0, Readline 4.3, Expat 1.95.8, GnuTLS 1.0.16 it workes fine. So I didn't really check the patch, since I wanted to use the CVS, but wasn't really able to install that. I guess I would have to follow the notes ./autogen provides. Should I try that patch on CVS anyway, even so 3.4 works fine? sorry again, Cheers (g.n.y) marco > -- > Alexander. | http://www.yars.free.net/~lav/ > Index: lftp_ssl.cc > =================================================================== > RCS file: /home/lav/cvsroot/lftp/src/lftp_ssl.cc,v > retrieving revision 1.25 > diff -u -p -r1.25 lftp_ssl.cc > --- lftp_ssl.cc 22 Nov 2005 12:23:23 -0000 1.25 > +++ lftp_ssl.cc 27 Dec 2005 08:42:21 -0000 > @@ -541,6 +541,11 @@ int lftp_ssl_gnutls::read(char *buf,int > { > if(res==GNUTLS_E_AGAIN || res==GNUTLS_E_INTERRUPTED) > return RETRY; > + else if(res==GNUTLS_E_UNEXPECTED_PACKET_LENGTH) > + { > + Log::global->Format(7,"gnutls_record_recv: %s; assuming > EOF\n",gnutls_strerror(res)); > + return 0; > + } > else // error > { > fatal=check_fatal(res); -- calmar (o_ It rocks: LINUX + Command-Line-Interface //\ V_/_ http://www.calmar.ws
