You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: override max_header_value_length using environment variable (#762)
Update runtime.exs to allow a `MAX_HEADER_LENGTH` env variable
Solves #761 by introducing an environment variable to override config -> http -> protocol_options -> max_header_value_length or leaves it at the default 4096 if no other value is specified
---------
Co-authored-by: Filipe Cabaço <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -144,6 +144,7 @@ TAILSCALE_APP_NAME # {string} Name of the Tailscale app.
144
144
TAILSCALE_AUTHKEY # {string} Auth key for the Tailscape app.
145
145
DNS_NODES # {string} Node name used when running server in a cluster.
146
146
MAX_CONNECTIONS # {string} Set the soft maximum for WebSocket connections. Defaults to '16384'.
147
+
MAX_HEADER_LENGTH # {string} Set the maximum header length for connections (in bytes). Defaults to '4096'.
147
148
NUM_ACCEPTORS # {string} Set the number of server processes that will relay incoming WebSocket connection requests. Defaults to '100'.
148
149
DB_QUEUE_TARGET # {string} Maximum time to wait for a connection from the pool. Defaults to '5000' or 5 seconds. See for more info: https://hexdocs.pm/db_connection/DBConnection.html#start_link/2-queue-config.
149
150
DB_QUEUE_INTERVAL # {string} Interval to wait to check if all connections were checked out under DB_QUEUE_TARGET. If all connections surpassed the target during this interval than the target is doubled. Defaults to '5000' or 5 seconds. See for more info: https://hexdocs.pm/db_connection/DBConnection.html#start_link/2-queue-config.
0 commit comments