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
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
|
||||
}
|
||||
|
||||
func (w *GzipResponseWriterWithCloseNotify) CloseNotify() <-chan bool {
|
||||
func (w GzipResponseWriterWithCloseNotify) CloseNotify() <-chan bool {
|
||||
return w.ResponseWriter.(http.CloseNotifier).CloseNotify()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue