Change gzipwriter receiver to implement CloseNotifier
This commit is contained in:
parent
323b8237a0
commit
bf12306f17
2 changed files with 2 additions and 2 deletions
2
Gopkg.lock
generated
2
Gopkg.lock
generated
|
@ -89,7 +89,7 @@
|
||||||
branch = "master"
|
branch = "master"
|
||||||
name = "github.com/NYTimes/gziphandler"
|
name = "github.com/NYTimes/gziphandler"
|
||||||
packages = ["."]
|
packages = ["."]
|
||||||
revision = "47ca22a0aeea4c9ceddfb935d818d636d934c312"
|
revision = "289a3b81f5aedc99f8d6eb0f67827c142f1310d8"
|
||||||
|
|
||||||
[[projects]]
|
[[projects]]
|
||||||
name = "github.com/Nvveen/Gotty"
|
name = "github.com/Nvveen/Gotty"
|
||||||
|
|
2
vendor/github.com/NYTimes/gziphandler/gzip.go
generated
vendored
2
vendor/github.com/NYTimes/gziphandler/gzip.go
generated
vendored
|
@ -88,7 +88,7 @@ type GzipResponseWriterWithCloseNotify struct {
|
||||||
*GzipResponseWriter
|
*GzipResponseWriter
|
||||||
}
|
}
|
||||||
|
|
||||||
func (w *GzipResponseWriterWithCloseNotify) CloseNotify() <-chan bool {
|
func (w GzipResponseWriterWithCloseNotify) CloseNotify() <-chan bool {
|
||||||
return w.ResponseWriter.(http.CloseNotifier).CloseNotify()
|
return w.ResponseWriter.(http.CloseNotifier).CloseNotify()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue