pbacsko commented on code in PR #1115:
URL: https://github.com/apache/yunikorn-core/pull/1115#discussion_r3683150424
##########
pkg/webservice/gzip.go:
##########
@@ -78,6 +86,22 @@ func (d *deferredGzipResponseWriter) Write(b []byte) (int,
error) {
return n, err
}
+// passThrough commits to sending the response uncompressed: it flushes any
buffered
+// bytes to the underlying writer and marks the decision as final.
+func (d *deferredGzipResponseWriter) passThrough() {
+ d.decided = true
Review Comment:
I'm okay with this change.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]