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
// A Server defines parameters for running an HTTP server.
// The zero value for Server is a valid configuration.
type Server struct {
// IdleTimeout is the maximum amount of time to wait for the
// next request when keep-alives are enabled. If IdleTimeout
// is zero, the value of ReadTimeout is used. If both are
// zero, ReadHeaderTimeout is used.
IdleTimeout time.Duration
}
Update the below struct and config to support idle time out
We have an issue where applications that use text/event-stream (SSE) run into a read time out and the connection is dropped.
I will PR an update to add in idleTimeOut Support.
The text was updated successfully, but these errors were encountered:
galen0624
changed the title
Enhancement - Add in idleTimeout support for HTTP Server
Enhancement - Add in idleTimeOut support for HTTP Server
Apr 9, 2019
Add in support for
Update the below struct and config to support idle time out
We have an issue where applications that use
text/event-stream (SSE)
run into a read time out and the connection is dropped.I will PR an update to add in idleTimeOut Support.
The text was updated successfully, but these errors were encountered: