cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-1416401 ] --proxytunnel crash

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Mon, 30 Jan 2006 00:31:01 -0800

Bugs item #1416401, was opened at 2006-01-27 05:43
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1416401&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: ftp
Group: crash
Status: Open
Resolution: None
Priority: 7
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel Stenberg (bagder)
Summary: --proxytunnel crash

Initial Comment:
I've found an error. When I'm trying to download file
with "curl --proxy proxy:1080 --proxytunnel
ftp://ftp.microsoft.com/MISC/DISCLAIM.TXT" program
crashes. But "curl --proxy proxy:1080
ftp://ftp.microsoft.com/MISC/DISCLAIM.TXT" works fine.

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2006-01-30 00:31

Message:
Logged In: NO

I've downloaded Jan 30 snapshot and built library.
I'm calling 'operate'-routine from Curl to download file
from ftp-server. i've found that application crashes not
only with "--proxytunnel", but also with "-o file.txt":

char *cmdLine[] = {"curl"
, "-o", "file.txt" // If i'll comment this line,
                   // everhing works OK
, "--proxy", "proxy:1080"
, "ftp://ftp.microsoft.com/MISC/DISCLAIM.TXT"
};
int numArgs = sizeof(cmdLine)/sizeof(cmdLine[0]);
int res = operate(&config, numArgs, cmdLine);

Here's call stack:
==================================================
ntdll.dll!7c918fea()
ntdll.dll!7c90104b()
libcurl.dll!_lock_file(void * pf) Line 236
libcurl.dll!fputc(int ch, _iobuf * str) Line 47
libcurl.dll!dprintf_formatf(void * data, int (int, _iobuf
*)* stream, const char * format, char * ap_save) Line 648
libcurl.dll!curl_mfprintf(_iobuf * whereto, const char *
format, ...) Line 1155
libcurl.dll!Curl_pgrsUpdate(connectdata * conn) Line 262
libcurl.dll!Curl_readwrite(connectdata * conn, unsigned char
* done) Line 1382
libcurl.dll!Transfer(connectdata * conn) Line 1607
libcurl.dll!Curl_perform(SessionHandle * data) Line 2164
libcurl.dll!curl_easy_perform(void * curl) Line 445
get.exe!operate(Configurable * config, int argc, char * *
argv) Line 3881
get.exe!main(int argc, char * * argv, char * * envp) Line 36
get.exe!mainCRTStartup() Line 259
kernel32.dll!7c816d4f()
kernel32.dll!7c8399f3()
==================================================

----------------------------------------------------------------------

Comment By: Daniel Stenberg (bagder)
Date: 2006-01-29 15:26

Message:
Logged In: YES
user_id=1110

... and what about the daily snapshot?

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2006-01-27 08:22

Message:
Logged In: NO

I've tried to write log, but "curl --proxy proxy:1080
--trace-ascii file.txt
ftp://ftp.microsoft.com/MISC/DISCLAIM.TXT" crashes too.

"curl --version":
curl 7.15.1 (i386-pc-win32) libcurl/7.15.1
Protocols: tftp ftp gopher telnet dict ldap http file
Features: Largefile

----------------------------------------------------------------------

Comment By: Daniel Stenberg (bagder)
Date: 2006-01-27 06:14

Message:
Logged In: YES
user_id=1110

What curl version?

Can you please show me a trace done with '--trace-ascii
dumpfile' if you use 7.15.1?

We've fixed serveral --proxytunnel issues for FTP since the
7.15.1 release. Can you please retry with a recent daily
snapshot?

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1416401&group_id=976
Received on 2006-01-30

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET