Skip to content

Commit 26d628d

Browse files
committed
Update compression-level docstring to mention new behavior
1 parent 472b2ea commit 26d628d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aleph/http.clj

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
| `initial-buffer-size` | The initial buffer size of characters when decoding the request, defaults to `128` |
8181
| `pipeline-transform` | (DEPRECATED: Use `:http1-pipeline-transform` instead.) A function that takes an `io.netty.channel.ChannelPipeline` object, which represents a connection, and modifies it. |
8282
| `http1-pipeline-transform` | A function that takes an `io.netty.channel.ChannelPipeline` object, which represents an HTTP/1 connection, and modifies it. Contains the user handler at \"request-handler\". |
83-
| `compression-level` | (DEPRECATED: Use `compression-options` or leave unset.) Optional gzip/deflate compression level, `1` yields the fastest compression and `9` yields the best compression, defaults to `6` . When set, ONLY older gzip and deflate codecs are available. Overridden by `compression-options`. |
83+
| `compression-level` | (DEPRECATED: Use `compression-options` or leave unset.) Optional gzip/deflate compression level, `1` yields the fastest compression and `9` yields the best compression, defaults to `6`. Zstd or Brotli will also be enabled when available. Overridden by `compression-options`. |
8484
8585
HTTP/2-specific options
8686
| Param key | Description |

0 commit comments

Comments
 (0)