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

[QUESTION] - How to set different Read Timeout for http handlers and websocket handler #969

Closed
sujit-baniya opened this issue Oct 11, 2023 · 1 comment
Labels
question Further information is requested

Comments

@sujit-baniya
Copy link

Describe the Question

By default hertz has 3 minutes of Read timeout which is fine. But I wanted to disable ReadTimeout for Websocket handler. Currently the websocket connection auto close with error Error connection read timeout.

Is it possible to disable or increase the Read Timeout for websocket handler.

@li-jin-gou
Copy link
Member

li-jin-gou commented Oct 11, 2023

@li-jin-gou li-jin-gou added the question Further information is requested label Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Development

No branches or pull requests

2 participants