cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] ftp: prevent server from hanging on closed data connection

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Fri, 29 Oct 2010 12:08:27 +0200

On Thu October 28 2010 23:48:12 Daniel Stenberg wrote:
> On Wed, 27 Oct 2010, Kamil Dudka wrote:
> > Some FTP servers (e.g. Pure-ftpd) end up hanging if we close the data
> > connection before transferring all the requested data. If we send ABOR
> > in that case, it prevents the server from hanging.
>
> I think this change is safe and harmless for servers.

Thanks for review. I've just pushed the patch. Hopefully it won't break
anything.

Kamil
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-10-29