Merge pull request #698 from twdkeule/implement-closeNotifier

implement the context for the server http.Request
This commit is contained in:
Lucas Clemente
2017-09-26 14:09:54 +02:00
committed by GitHub
5 changed files with 42 additions and 6 deletions

View File

@@ -83,7 +83,7 @@ func (w *responseWriter) Write(p []byte) (int, error) {
func (w *responseWriter) Flush() {}
// TODO: Implement a functional CloseNotify method.
// This is a NOP. Use http.Request.Context
func (w *responseWriter) CloseNotify() <-chan bool { return make(<-chan bool) }
// test that we implement http.Flusher