mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
ea81fba045
* Allow configuring query string max length * Expand changable variable in puma_http11.c to make error messages helpful * Add compile options document and update changelog
464 B
464 B
Compile Options
There provide some cflags
to change Puma's default configuration for C.
Query String
By default, the max length of QUERY_STRING
is 1024 * 10
. But you may want to adjust it to allow accept large queries in the GET requests.
For manual install
gem install puma -- --with-cflags="-D PUMA_QUERY_STRING_MAX_LENGTH=64000"
For bundler config
bundle config build.puma --with-cflags="-D PUMA_QUERY_STRING_MAX_LENGTH=64000"