cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: proxy problems

From: Russ Freeman <russf_at_gipsymedia.com>
Date: Wed, 25 Feb 2004 15:48:19 -0000

> Perhaps you should consider using curl to download it! ;-) If it looks
> odd, it
> is because your browser messes it up. It is a plain 'diff -u' output,
> meant to
> be applied with the 'patch' utility.

I would but I don't have a "patch" utility.

> > I'll happily test code I can download or code that is emailed to me. I
> can
> > test against ISA and Squid without problem. A URL to the patched files
> would
> > be useful at this stage.
>
> Ok, the patched http.c file is now present here:
> http://daniel.haxx.se/http-issue12.c
>
> This is the latest CVS version of http.c with the "issue12-feb20" patch
> applied on top.

It fails to compile;

D:\PROJECTS\components\network\LibCurl\lib\http.c(802) : warning C4018: '=='
: signed/unsigned mismatch
D:\PROJECTS\components\network\LibCurl\lib\http.c(1031) : error C2039:
'retry' : is not a member of 'ConnectBits'
        d:\projects\components\network\libcurl\lib\urldata.h(274) : see
declaration of 'ConnectBits'
D:\PROJECTS\components\network\LibCurl\lib\http.c(1256) : error C2065:
'curl_off_t' : undeclared identifier
D:\PROJECTS\components\network\LibCurl\lib\http.c(1256) : error C2146:
syntax error : missing ';' before identifier 'passed'
D:\PROJECTS\components\network\LibCurl\lib\http.c(1256) : error C2065:
'passed' : undeclared identifier
D:\PROJECTS\components\network\LibCurl\lib\http.c(1262) : error C2146:
syntax error : missing ';' before identifier 'readthisamountnow'
D:\PROJECTS\components\network\LibCurl\lib\http.c(1262) : error C2065:
'readthisamountnow' : undeclared identifier
D:\PROJECTS\components\network\LibCurl\lib\http.c(1263) : error C2146:
syntax error : missing ';' before identifier 'actuallyread'
D:\PROJECTS\components\network\LibCurl\lib\http.c(1263) : error C2065:
'actuallyread' : undeclared identifier
D:\PROJECTS\components\network\LibCurl\lib\http.c(1310) : error C2146:
syntax error : missing ';' before identifier 'total_expected_size'
D:\PROJECTS\components\network\LibCurl\lib\http.c(1310) : error C2065:
'total_expected_size' : undeclared identifier

Russ.
Received on 2004-02-25