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
// WriteTimeout is the maximum duration before timing out
// writes of the response. It is reset whenever a new
// request's header is read. Like ReadTimeout, it does not
// let Handlers make decisions on a per-request basis.
WriteTimeout time.Duration
Clients can also try to send heartbeat requests with only request headers to the same backend handler to refresh the write timeout.
As shown in #1041 (comment) and easily testable with https://github.com/SubChord/go-sse/blob/master/example/send_to_client_using_reference.go , there is an issue if
-write-timeout-server
is set to not equal to0
or to a very high value.Doc of WriteTimeout:
Clients can also try to send heartbeat requests with only request headers to the same backend handler to refresh the write timeout.
Idle timeouts #1041 (comment) :
The text was updated successfully, but these errors were encountered: