lftp-devel  

Re: Memory fault when SFTP transfer interrupted

Iain Morgan
Thu, 14 May 2009 11:48:30 -0700

On Thu, May 14, 2009 at 03:37:39 -0500, Alexander V. Lukyanov wrote:
> On Wed, May 13, 2009 at 12:51:38PM -0700, Iain Morgan wrote:
> > interruption, I sent a SIGTERM to the ssh process or the remote
> > sftp-server process. In either case, interrupting the transfer in such a
> > manner caused lftp to die with a memory fault.
> 
> This patch should fix the problem.
> 
> --
>    Alexander.

Thanks! That did the trick. I was also pleasantly surprised to see that
the interrupted transfers automatically attempted to resume when just
using get or put. Nice!

-- 
Iain Morgan