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 d9b1323 commit f3e3b71Copy full SHA for f3e3b71
src/net/http/server.go
@@ -3177,8 +3177,8 @@ func (srv *Server) onceSetNextProtoDefaults() {
3177
// After such a timeout, writes by h to its ResponseWriter will return
3178
// ErrHandlerTimeout.
3179
//
3180
-// TimeoutHandler buffers all Handler writes to memory and does not
3181
-// support the Hijacker or Flusher interfaces.
+// TimeoutHandler supports the Flusher and Pusher interfaces but does not
+// support the Hijacker interface.
3182
func TimeoutHandler(h Handler, dt time.Duration, msg string) Handler {
3183
return &timeoutHandler{
3184
handler: h,
0 commit comments