]> source.dussan.org Git - gitea.git/commit
Ensure Written is set in GZIP ProxyResponseWriter (#9018)
authorzeripath <art27@cantab.net>
Fri, 15 Nov 2019 14:09:53 +0000 (14:09 +0000)
committerGitHub <noreply@github.com>
Fri, 15 Nov 2019 14:09:53 +0000 (14:09 +0000)
commit77190097065e72abba1e6055a8714e0ee18a1dc7
tree0ced8219212bfb80576aa4d37b8a59f2e98ef6f9
parent9930d47be2516ba4dc33ddfc382f9a829628929d
Ensure Written is set in GZIP ProxyResponseWriter (#9018)

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