cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: URLs > 4096

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 17 Nov 2000 09:35:00 +0100 (MET)

On Thu, 16 Nov 2000, Scott Cleary wrote:

> I need to be able to test that one of our applications correctly handles,
> in other words: doesn't core, URLs longer than 4096 characters.  From
> what I can tell, cURL only handles URLs < 4096 characters.
> Is this correct?

That is a correct conclusion. I restricted the length on 4096. That
particular restriction is what I thought "big enough" and not in any way
scientificly calculated.

I would like an approach that handles infinite lengths, although I haven't
really come up with such a one yet.

> If so, I'd like to make a modification to curl to allow any length URL if
> a command line argument is supplied. (something like "--long-url"). Any
> comments?

I think it should be default, no one will want an extra parameter just
because the URL is larger than a certain size.

-- 
  Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/
Received on 2000-11-17