Skip to content

Commit 78508e3

Browse files
docs: document UWS_HTTP_MAX_HEADERS_SIZE and UWS_HTTP_MAX_HEADERS_COUNT (#1230)
* Initial plan * docs: document UWS_HTTP_MAX_HEADERS_SIZE and UWS_HTTP_MAX_HEADERS_COUNT in README Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com>
1 parent af7015b commit 78508e3

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎README.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ We aren't in the NPM registry but you can easily install it with the NPM client:
1818

1919
![Untitled](https://github.com/user-attachments/assets/c887f49f-5e7a-446e-970d-f66b4d03cf4a)
2020

21+
### :gear: Environment variables
22+
23+
| Variable | Description | Default |
24+
|---|---|---|
25+
| `UWS_HTTP_MAX_HEADERS_SIZE` | Maximum total byte size of HTTP request headers (runtime env variable). | `4096` |
26+
| `UWS_HTTP_MAX_HEADERS_COUNT` | Maximum number of HTTP request headers (compile-time define, not a runtime env variable). | `100` |
27+
2128
### :handshake: Permissively licensed
2229
Intellectual property, all rights reserved.
2330

0 commit comments

Comments
 (0)