Merged in deadlines (pull request #1)

Cleanly fake-close listeners

* WIP debugging listener deadlines

* Fix listener deadlines
This commit is contained in:
Matt Holt
2019-04-02 20:58:24 +00:00
parent 6621406fa8
commit f976aa7443
3 changed files with 65 additions and 8 deletions

View File

@@ -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