[Libwebsockets] Maximun size of URL

Andy Green andy at warmcat.com
Fri Sep 15 09:20:33 CEST 2017

On 09/15/2017 03:04 PM, Renan Le Padellec wrote:
> Hi,
> With the latest version, what is the limitation of the size of the URL? 
> It seems that the library is not able to handle an URL with a quite long 
> query string (~2K).

It is configurable at context creation time

	short max_http_header_data;
	/**< CONTEXT: The max amount of header payload that can be handled
	 * in an http request (unrecognized header payload is dropped) */

If you leave it at zero, it uses the default of 4096... that is for all 
the recognized header content.


> Regards,
> Renan
> _______________________________________________
> Libwebsockets mailing list
> Libwebsockets at ml.libwebsockets.org
> https://libwebsockets.org/mailman/listinfo/libwebsockets

More information about the Libwebsockets mailing list