We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcad830 commit 46e0d72Copy full SHA for 46e0d72
src/net/http/server.go
@@ -3182,8 +3182,8 @@ func (srv *Server) onceSetNextProtoDefaults() {
3182
// After such a timeout, writes by h to its ResponseWriter will return
3183
// ErrHandlerTimeout.
3184
//
3185
-// TimeoutHandler supports the Flusher and Pusher interfaces but does not
3186
-// support the Hijacker interface.
+// TimeoutHandler supports the Pusher interface but does not support
+// the Hijacker or Flusher interfaces.
3187
func TimeoutHandler(h Handler, dt time.Duration, msg string) Handler {
3188
return &timeoutHandler{
3189
handler: h,
0 commit comments