curl-users
Re: cURL hangs on ftp upload in cygwin version
Date: Sun, 19 May 2002 13:03:06 -0700
----- Original Message -----
From: "Daniel Stenberg" <daniel_at_haxx.se>
To: "Dennis George" <dwgeorge_at_pacbell.net>
Cc: "curl-users Mailing list" <curl-users_at_lists.sourceforge.net>
Sent: Sunday, May 19, 2002 12:33 PM
Subject: Re: cURL hangs on ftp upload in cygwin version
> On Fri, 17 May 2002, Dennis George wrote:
>
> > I had the opportunity to try my cURL with another FTP server, out on
the
> > net - with the same result. It hangs. This applies to the binary as
well
> > as the source distribution.
>
> So this happens basicly on all FTP servers you try curl on?
>
Yes
> > Has anyone else used the cygwin version (7.9.7) with Win98 (1st
edition)?
> > Kevin Roth has tried it with NT4, W2K, and WinXP and it worked fine.
>
> Have you tried the plain win32 version outside the cygwin environment?
Not yet - I made the cygwin version and I have the same problem from a shell
or a win command line.
>
> > For those with knowledge of the iternals of cURL, any ideas on how to
> > diagnose the problem, perhaps with GDB?
>
> Set a break-point in the function Curl_ftp_done(), and if it gets there,
> single step from that point and forwards to see what happens.
>
I configured curl with --disable-shared but I can't see the lib functions
from within gdb - haven't figured that one out yet, but apparently the
"static" make didn't work right. I also did
--without-ssl.
> Use a network analyzer too, to see if the data actually arrives at your
host.
>
I used ethereal and it shows all of the data being sent to the server but
the TCP "Fin" flag never gets set. Everything else looks the same, up to
that point, when I compare a curl trace to a wsftp trace (sending the same
file). When I send a small file that only requires one packet, wsftp sends
another packet with the Fin flag - curl does not. When I send a larger file
requiring several packets, wsftp sets the Fin flag in the last packet - curl
does not.
> --
> Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
>
_______________________________________________________________
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/
Received on 2002-05-19