Sha256: 9f19f619c46bd67d1483e90b137ced8298029182e32e64861b71e483772356d8

Contents?: true

Size: 591 Bytes

Versions: 25

Compression:

Stored size: 591 Bytes

Contents

# Compile Options

There are some `cflags` provided to change Puma's default configuration for its
C extension.

## Query String, `PUMA_QUERY_STRING_MAX_LENGTH`

By default, the max length of `QUERY_STRING` is `1024 * 10`. But you may want to
adjust it to accept longer queries in GET requests.

For manual install, pass the `PUMA_QUERY_STRING_MAX_LENGTH` option like this:

```
gem install puma -- --with-cflags="-D PUMA_QUERY_STRING_MAX_LENGTH=64000"
```

For Bundler, use its configuration system:

```
bundle config build.puma "--with-cflags='-D PUMA_QUERY_STRING_MAX_LENGTH=64000'"
```

Version data entries

25 entries across 25 versions & 3 rubygems

Version Path
date_n_time_picker_activeadmin-0.1.1 vendor/bundle/ruby/2.6.0/gems/puma-5.5.2/docs/compile_options.md
puma-5.5.2-java docs/compile_options.md
puma-5.5.2 docs/compile_options.md
puma-5.5.1-java docs/compile_options.md
puma-5.5.1 docs/compile_options.md