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
Drew Erny f19b0d72d1 fix docker logs error handling
Previously, `docker logs` (and by extension, `docker service logs`) had
an error in the way they returned errors that occurred after a stream
had already been started. Specifically, the errors were added verbatim
to the HTTP response, which caused StdCopy to fail with an esoteric
error. This change updates StdCopy to accept errors from the source
stream and then return those errors when copying to the destination
stream.

Signed-off-by: Drew Erny <drew.erny@docker.com>
2017-02-14 14:38:42 -08:00
..
httputils Fix #303111: dockerd leaks ExecIds on failed exec -i 2017-02-10 21:13:00 +02:00
middleware Revise swarm init/update flags, add unlocking capability 2016-11-09 16:09:00 -08:00
router fix docker logs error handling 2017-02-14 14:38:42 -08:00
middleware.go change comment 2016-08-26 18:30:41 +08:00
profiler.go add trace in docker engine's pprof to show execution trace in binary form 2016-05-13 15:24:44 +08:00
router_swapper.go
server.go Show stacktrace in daemon logs only if 500 internal error 2017-02-06 10:13:21 -08:00
server_test.go replace handleWithGlobalMiddlewares with handlerWithGlobalMiddlewares 2016-08-12 10:53:11 +08:00