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
I have looked for existing issues (including closed) about this
Feature Request
Motivation
Working on a large enterprise system and using axum for one of our services.
The system, for better or worse, passes around a large number of headers, over the default number of 100 headers as declared in hyper.
Expose this configuration through axum configuration settings.
Would you be receptive to a pull request to expose this as a config option?
Alternatives
We maintain a patched fork to set this in serve.rs, but would rather have this configurability present in the unpatched library.
We considered using plain hyper, which is suggested in the axum docs, however such a relatively innocuous http-server configuration seems valid for inclusion in axum configuration.
The text was updated successfully, but these errors were encountered:
There are more hyper configurations that should be available so I don't think we should go with exposing this one option but rather find a way to let users have more control over the underlying hyper connections.
You might also want to look at axum-server, I believe you can set things like these through that but it's another (3rd party) dependency.
I don't think there is a way to give people access to all the hyper settings at once without making hyper-util a public dependency.
Not sure what the best solution is for this. At my workplace we have also vendored axum::serve for some setting (I forget which one). It's probably not actually that bad to add a couple of extra settings as people ask for them?
Feature Request
Motivation
Working on a large enterprise system and using axum for one of our services.
The system, for better or worse, passes around a large number of headers, over the default number of 100 headers as declared in hyper.
The hyper library exposes a function to override this default value, however this is not exposed through axum.
Proposal
Expose this configuration through axum configuration settings.
Would you be receptive to a pull request to expose this as a config option?
Alternatives
We maintain a patched fork to set this in
serve.rs
, but would rather have this configurability present in the unpatched library.We considered using plain hyper, which is suggested in the axum docs, however such a relatively innocuous http-server configuration seems valid for inclusion in axum configuration.
The text was updated successfully, but these errors were encountered: