curl-library
Re: question on https through proxy
Date: Mon, 7 Oct 2002 09:49:25 +0200 (MET DST)
On Fri, 4 Oct 2002 RBramante_at_on.com wrote:
> Yup, that looks like it was it. The proxy is junkbuster20
> (http://www.junkbuster.com/) which is free with source. I grabbed the
> source and found this:
>
> char CSUCCEED[] = "HTTP/1.0 200 Connection established\n"
> "Proxy-Agent: IJ/" VERSION "\n\n"
> ;
>
> Changed that to this:
>
> char CSUCCEED[] = "HTTP/1.0 200 Connection established\r\n"
> "Proxy-Agent: IJ/" VERSION "\r\n\r\n"
> ;
>
> Recompiled and curl was happy. The only bad thing is it looked like most
> of the lines I saw where terminated with just \n vs. \r\n.
You should probably make the authors of junkbuster20 aware of this flaw.
We, on the other hand, should make curl less strict about these things.
-- Daniel Stenberg -- curl related mails on curl related mailing lists please ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sfReceived on 2002-10-07