pkg/ioutils
Stephen J Day c02491b8c3 Avoid panic on write after close in http
By adding a (*WriteFlusher).Close, we limit the Write calls to possibly
deallocated http response buffers to the lifetime of an http request.
Typically, this is seen as a very confusing panic, the cause is usually a
situation where an http.ResponseWriter is held after request completion. We
avoid the panic by disallowing further writes to the response writer after the
request is completed.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-11-02 18:14:43 -08:00
..
bytespipe.go Make bytesPipe use linear allocations 2015-09-23 17:12:54 -07:00
bytespipe_test.go Make bytesPipe use linear allocations 2015-09-23 17:12:54 -07:00
fmt.go Format output of docker info 2015-09-23 14:35:13 +08:00
fmt_test.go no not print empty keys in docker info 2015-06-01 15:05:20 -07:00
multireader.go Enable golint part of #14756 2015-08-03 09:45:05 +08:00
multireader_test.go Split reader interface from logger interface 2015-07-21 20:47:31 -04:00
readers.go goroutine fairness is not guaranteed causing the hang with GCCGO 2015-09-25 14:40:16 +00:00
readers_test.go Make Close() on simpleReaderCloser actually close the reader 2015-09-24 20:22:59 -07:00
scheduler.go Go Scheduler issue with sync.Mutex using gccgo 2015-07-17 01:33:58 +00:00
scheduler_gccgo.go Go Scheduler issue with sync.Mutex using gccgo 2015-07-17 01:33:58 +00:00
temp_unix.go Abstract builder and implement server-side dockerfile builder 2015-10-06 19:10:19 -04:00
temp_windows.go Abstract builder and implement server-side dockerfile builder 2015-10-06 19:10:19 -04:00
writeflusher.go Avoid panic on write after close in http 2015-11-02 18:14:43 -08:00
writers.go Enable golint part of #14756 2015-08-03 09:45:05 +08:00
writers_test.go Add more ioutils tests. 2015-05-04 19:56:10 +02:00