diff options
author | Matt Holt <matthew.holt+atlassian@gmail.com> | 2019-04-02 20:58:24 +0000 |
---|---|---|
committer | Matt Holt <matthew.holt+atlassian@gmail.com> | 2019-04-02 20:58:24 +0000 |
commit | f976aa744385b097239a7323af4dec11f83bc949 (patch) | |
tree | af03a27191f11ef5c6323c86bb011d1332483f6f /modules | |
parent | 6621406fa8b44826477ba7cbe2ff6c5462048f8e (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.go | 3 |
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 |