summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorMatt Holt <matthew.holt+atlassian@gmail.com>2019-04-02 20:58:24 +0000
committerMatt Holt <matthew.holt+atlassian@gmail.com>2019-04-02 20:58:24 +0000
commitf976aa744385b097239a7323af4dec11f83bc949 (patch)
treeaf03a27191f11ef5c6323c86bb011d1332483f6f /modules
parent6621406fa8b44826477ba7cbe2ff6c5462048f8e (diff)
Merged in deadlines (pull request #1)
Cleanly fake-close listeners * WIP debugging listener deadlines * Fix listener deadlines
Diffstat (limited to 'modules')
-rw-r--r--modules/caddyhttp/responsewriter.go3
1 files changed, 3 insertions, 0 deletions
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