cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl library's uninitialization is got hang

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 1 Sep 2014 09:10:30 +0200 (CEST)

On Mon, 1 Sep 2014, shine wrote:

>> *both* EPSV and PASV are sent. And both get a fine response back. How come
>> it sends two? That's not normal libcurl behavior.

> So now what is the problem i already sent you code by which i am trying to
> upload files to FTP.

Can you convert that into a complete stand-alone example we can try to
reproduce this problem with? I can't see what would make libcurl act like
that.

> Can you tell me how i can proceed or some debug method to find out what is
> exact cause for this?

Set a break-point in libcurl where it receives the EPSV response
(lib/ftp.c:ftp_state_pasv_resp) and see what it does next and why!

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-09-01