cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl mixing up url in query?

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 26 Aug 2004 09:41:39 +0200 (CEST)

On Wed, 25 Aug 2004, Alcides Carlos de Moraes Neto wrote:

> Note it's the same URL. But in the second case, I don't know how the
> "HTTP/1.1" part of the query somehow gets crammed in the middle of the URL?
> where it should be 7001!7002.

I believe you've managed to get a CR or a CRLF included somewhere in the URL,
and thus you've been mislead by the output.

I suggest you use --trace instead of -v once to verify this.

In the code, there is _nothing_ being sent after the HTTP/[version] string
before the CRLF (lib/http.c around line 1590).

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-08-26