net/http: ErrWriteAfterFlush unused #15150
Comments
The
However I have not checked if they are obsolete as with ErrWriteAfterFlush. |
All of those are part of the public API and cannot be removed under the Go 1 compatibility guarantee. Also, most of these are defined in terms of their As an aside, |
On Wed, Apr 6, 2016 at 12:34 PM, Dominik Honnef notifications@github.com
At least ErrWriteAfterFLush seems to be obsolete. Of course it can not be IMHO, a variable without a comment and that appears to be never used, only |
CL https://golang.org/cl/22658 mentions this issue. |
The variable ErrWriteAfterFlush, defined in net/http/server.go, is never used.
After a bit of code archaeology with git, I found that the variable was introduced in https://github.com/golang/go/blob/e73acc1b35f3490f3d800b4bf49da79630e808fc/src/lib/http/server.go, but at some point it was no more used.
The text was updated successfully, but these errors were encountered: