1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/api/server/router/local
Stephen J Day ec2289b2d9 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
..
auth.go refactor away direct references to daemon member 2015-10-09 14:40:03 -07:00
container.go Avoid panic on write after close in http 2015-11-02 18:14:43 -08:00
copy.go Remove defensive check of mux vars handling. 2015-10-14 10:31:09 -07:00
exec.go Version exec json check. 2015-10-26 15:12:06 -04:00
image.go Avoid panic on write after close in http 2015-11-02 18:14:43 -08:00
info.go Avoid panic on write after close in http 2015-11-02 18:14:43 -08:00
inspect.go Remove defensive check of mux vars handling. 2015-10-14 10:31:09 -07:00
local.go extract docker volume API from local 2015-10-27 17:28:19 -07:00