Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to configure h2 client_header_timeout? #823

Open
taikulawo opened this issue Dec 5, 2024 · 2 comments
Open

Is there a way to configure h2 client_header_timeout? #823

taikulawo opened this issue Dec 5, 2024 · 2 comments

Comments

@taikulawo
Copy link

Hi,

We are add NGINX client_header_timeout support, Does h2 crate can configure read_timeout on per req level?

https://nginx.org/en/docs/http/ngx_http_core_module.html#client_header_timeout:~:text=Syntax%3A-,client_header_timeout,-time%3B
https://github.com/nginx/nginx/blob/43191be96fb5f425710400e0064c0f2d285a352d/src/http/v2/ngx_http_v2.c#L346

@seanmonstar
Copy link
Member

No, there currently isn't an option to configure that. I wouldn't be against it's addition, but it'd likely need an implementation proposal first.

@taikulawo
Copy link
Author

If we shouldn't include runtime timeout/sleep, how we implement timeout mechanism

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants