]> source.dussan.org Git - gitea.git/commit
Ensure Written is set in GZIP ProxyResponseWriter (#9018) (#9026) release/v1.9
authorzeripath <art27@cantab.net>
Fri, 15 Nov 2019 15:58:23 +0000 (15:58 +0000)
committerGitHub <noreply@github.com>
Fri, 15 Nov 2019 15:58:23 +0000 (15:58 +0000)
commit3c3823dc7fbfc791b685293a884cde380ff789d6
tree51599e2f986d6255ade367f46e6f7555644530ce
parent2f73fff053527b9ab66d74063868846ae8eec5c7
Ensure Written is set in GZIP ProxyResponseWriter (#9018) (#9026)

Fix #9001

The GZIP ProxyReponseWriter doesn't currently respond correctly
to requests about its Written status - leading to #9001.

This PR properly reimplements these methods.
modules/gzip/gzip.go