mirror of
https://github.com/distribution/distribution
synced 2024-11-12 05:45:51 +01:00
10f602b158
Instead, provide a variant of instrumentedResponseWriter that does not implement CloseNotifier, and use that when necessary. In copyFullPayload, log instead of panicing when we encounter something that doesn't implement CloseNotifier. This is more complicated than I'd like, but it's necessary because instrumentedResponseWriter must not embed CloseNotifier unless there's really a CloseNotifier to embed. Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com> |
||
---|---|---|
.. | ||
context.go | ||
doc.go | ||
http_test.go | ||
http.go | ||
logger.go | ||
trace_test.go | ||
trace.go | ||
util.go |