cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How many garbage/ignored headers can I send to cURL?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 8 Oct 2016 12:36:40 +0200 (CEST)

On Sat, 8 Oct 2016, Thorsten Schöning wrote:

> What I'm wondering is, if there's any limit of the number of headers I can
> send this way to cURL until it may run into an error? I've read of max 100K
> per header and my headers are smaller. So does this mean I can send as many
> as I want, because they are discarded after cURL recognized them?

There's no limit to number of headers and yes curl will just read them and
ignore them.

-- 
  / daniel.haxx.se

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-10-08