|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker mailing list Archives
[ curl-Bugs-1249962 ] FTP via HTTP Proxy/NTLM Auth Bad Output
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Sun, 07 Aug 2005 15:59:43 -0700
Bugs item #1249962, was opened at 2005-08-02 05:42
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
Command example:
curl -O --proxy-ntlm --proxy http://some.proxy:80
Environment: FreeBSD 4.5 Ports Collection (i386)
Result is the HTML output from the original
This is seen in 7.13.1. I checked 7.14.0 and CVS and
Based on some experiments with the -v option and
if(conn->protocol&PROT_HTTP) {
to
if(conn->protocol&(PROT_HTTP|PROT_FTP)) {
This is a hack at best, as I am sure the correct
Hope this is enough for someone who knows the code much
Thanks for your efforts.
-- Jon Grubbs jon.grubbs_at_ins.com ---------------------------------------------------------------------- >Comment By: Daniel Stenberg (bagder) Date: 2005-08-08 00:59 Message: Logged In: YES user_id=1110 Thanks for verifying. A somewhat more complete fix was just now committed to CVS. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2005-08-08 00:40 Message: Logged In: NO Your suggested patch works like a champ! I knew my hack was exactly that, a hack :-) Thanks for the effort! --Jon ---------------------------------------------------------------------- Comment By: Daniel Stenberg (bagder) Date: 2005-08-04 00:10 Message: Logged In: YES user_id=1110 Actually, using FTP over a HTTP proxy is actually doing HTTP all the way as far as libcurl goes. Whatabout using a simple patch such as this? --- lib/url.c 28 Jul 2005 21:53:09 -0000 1.471 +++ lib/url.c 3 Aug 2005 22:08:31 -0000 @@ -2795,6 +2795,7 @@ #ifndef CURL_DISABLE_HTTP conn->curl_do = Curl_http; conn->curl_done = Curl_http_done; + conn->protocol = PROT_HTTP; #else failf(data, "FTP over http proxy requires HTTP support built-in!"); return CURLE_UNSUPPORTED_PROTOCOL; ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1249962&group_id=976 _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-trackerReceived on 2005-08-08 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info