curl-library
Re: Long URLs (up to 1000 characters) - should I worry?
Date: Fri, 14 Jan 2011 12:06:15 +0100
On Fri, Jan 14, 2011 at 11:51 AM, Daniel Stenberg <daniel_at_haxx.se>
wrote:
> Correct!
>
> libcurl has _no_ length limit in the URL at all so you can in fact
> send as long URLs as you want. Your system memory is the only limiter,
> as libcurl will strdup() the URL and it will build the request in a
> malloc'ed memory area before it is sent off.
>
> You should however be cautioned that every web server software I know
> of have a limit to what maximum length URL they accept, and that limit
> tends to be in the 5K area or so.
Thanks for the clarification!
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-01-14