-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
🤔 Server settings like IdleTimeout, ReadTimeout, WriteTimeout #238
Comments
Thanks for opening your first issue here! 🎉 Be sure to follow the issue template! |
@talgat-ruby, thanks for submitting your first issue! We removed most of the settings to keep it more in-lined with For those who do not know what it does, here the explanation taken from fasthttp source. // ReadTimeout is the amount of time allowed to read
// the full request including body. The connection's read
// deadline is reset when the connection opens, or for
// keep-alive connections after the first byte has been read.
//
// By default request read timeout is unlimited.
ReadTimeout time.Duration
// WriteTimeout is the maximum duration before timing out
// writes of the response. It is reset after the request handler
// has returned.
//
// By default response write timeout is unlimited.
WriteTimeout time.Duration
// IdleTimeout is the maximum amount of time to wait for the
// next request when keep-alive is enabled. If IdleTimeout
// is zero, the value of ReadTimeout is used.
IdleTimeout time.Duration |
Good point, I will add these settings in |
Closing this issue since |
@Fenny thanks. The fiber is awesome. |
Question description
Since was removed from settings the IdleTimeout, ReadTimeout, WriteTimeout params. How to set them now?
v1.8.2 changelog
The text was updated successfully, but these errors were encountered: