Limit on GET request size in Phoenix

Is there a limit on the size of a GET request that Phoenix can handle? I know historically some web servers would only allow something like 256 characters. Is that the case with Phoenix? Or is it configurable? If so, where?

Thanks in advance!

I think this is a property of cowboy: max_request_line_length.

It defaults to 8000 but to change it you can do it like this:

http: [protocol_options: [max_request_line_length: 10_000]]

Reference:

3 Likes