cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 28 Oct 2010 23:48:12 +0200 (CEST)

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.

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