-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
C-featureCategory: feature. This is adding a new feature.Category: feature. This is adding a new feature.
Description
Is your feature request related to a problem? Please describe.
Currently there is no way to override the hardcoded MAX_URI_LEN limit in hyper. So it cant be used with legacy systems which supports URI longer than 64K.
2025-09-23T18:42:59.858177Z DEBUG hyper::proto::h1::conn: parse error (URI too long) with 65646 bytes
2025-09-23T18:42:59.858235Z DEBUG hyper::proto::h1::role: sending automatic response (414 URI Too Long) for parse error
2025-09-23T18:42:59.858327Z DEBUG hyper::proto::h1::io: flushed 85 bytes
2025-09-23T18:42:59.858404Z DEBUG hyper::server::server::new_svc: connection error: URI too long
Describe the solution you'd like
ENV variable HYPER_MAX_URI_LEN
to configure the desired max uri len. And use default if its not configured.
Describe alternatives you've considered
Currently no alternatives present apart of changing the legacy system which is close to impossible.
Metadata
Metadata
Assignees
Labels
C-featureCategory: feature. This is adding a new feature.Category: feature. This is adding a new feature.