From f976aa744385b097239a7323af4dec11f83bc949 Mon Sep 17 00:00:00 2001 From: Matt Holt Date: Tue, 2 Apr 2019 20:58:24 +0000 Subject: Merged in deadlines (pull request #1) Cleanly fake-close listeners * WIP debugging listener deadlines * Fix listener deadlines --- modules/caddyhttp/responsewriter.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/caddyhttp/responsewriter.go') diff --git a/modules/caddyhttp/responsewriter.go b/modules/caddyhttp/responsewriter.go index 587d9f9..8aefd3f 100644 --- a/modules/caddyhttp/responsewriter.go +++ b/modules/caddyhttp/responsewriter.go @@ -7,6 +7,9 @@ import ( "net/http" ) +// TODO: Is this type really required? Wouldn't embedding the +// default ResponseWriter always work too, when wrapping it? + // ResponseWriterWrapper wraps an underlying ResponseWriter and // promotes its Pusher/Flusher/CloseNotifier/Hijacker methods // as well. To use this type, embed a pointer to it within your -- cgit v1.2.3