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
… interface.
The TimeoutHandler temporarily supported Flusher interface during development of 1.13 but it's no longer supported. This change corrects its documentation.
Fixesgolang#35161
Updates golang#34439
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes (but it's a document bug)
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
This says TimeoutHandler supports Flusher interface, but it doesn't.
https://github.com/golang/go/blob/go1.13.3/src/net/http/server.go#L3180L3181
https://play.golang.org/p/fd9mwwk3csz
The TimeoutHandler.Flush was reverted in a month on #34439.
I think the comment on TimeoutHandler needs to be updated.
Timeline about TimeoutHandler.Flush
What did you expect to see?
(this issue mentions document)
What did you see instead?
(this issue mentions document)
The text was updated successfully, but these errors were encountered: