curl-library
(no subject)
Date: Sun, 30 Sep 2001 21:06:36 -0700 (PDT)
I have a problem with libcurl hanging when I try to
get an FTP listing from a particular server. It
worked fine for quite a while with no problem and then
suddenly didn't work anymore. That makes me suspect
it is something with the server I am trying to contact
but take a look at the strange behavior below:
using command-line curl:
< 220 fm1 FTP server (Version wu-2.4(18) Mon Sep 21
16:00:35 CDT 1998) ready.
> USER fm006911
< 331 Password required for fm006911.
and goes on it's merry way...
using libcurl:
< 220 fm1 FTP server (Version wu-2.4(18) Mon Sep 21
16:00:35 CDT 1998) ready.
> USER fm006911
hangs... never responds
Here's the version of curl I'm using:
curl 7.9 (i586-pc-linux-gnu) libcurl 7.9 (OpenSSL
0.9.6a)
Operating system:
Linux priscilla.asc.com 2.2.19-6.2.7 #1 Thu Jun 14
07:23:17 EDT 2001 i586 unknown
Here's a stack trace when I stop the program in gdb
(url hidden for security):
#0 GetLastResponse (sockfd=6, buf=0x805ae0c "",
conn=0x8067b00) at ftp.c:254
#1 0x40045442 in ftp_connect (conn=0x8067b00) at
ftp.c:453
#2 0x40049955 in curl_connect (curl=0x805ad60,
in_connect=0xbfffe4e4)
at url.c:1438
#3 0x400504a5 in curl_transfer (curl=0x805ad60) at
highlevel.c:627
#4 0x400507b8 in curl_easy_perform (curl=0x805ad60)
at easy.c:157
#5 0x804ff31 in curlit (curl=0x805ad60,
url=0x805a968
"ftp://xxx.xxx.xxx.xxx//xxxxxxx/xxxxxxxx/",
filename=0x8054958 "ftplisting.txt", numtries=3)
at funclib.cc:219
#6 0x804d4f2 in main (argc=2, argv=0xbffffb84) at
ftptool.cc:101
Any ideas?
-Skeets Norquist
Software Developer
__________________________________________________
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com
Received on 2001-10-01