Stefan J. Wernli
0264a23a04
Fixing logs file handle leak.
...
Docker logs was only closing the logger when the HTTP response writer received a close notification, however in non-follow mode the writer never receives a close. This means that the daemon would leak the file handle to the log, preventing the container from being removed on Windows (file in use error). This change explicitly closes the log when the end of stream is hit.
Signed-off-by: Stefan J. Wernli <swernli@microsoft.com >
Upstream-commit: 4570cfd3ba900253c18066a0299d64551dbf85cc
Component: engine
2016-03-18 11:00:15 -07:00
..
2016-03-08 17:07:58 -05:00
2016-03-11 09:59:50 +08:00
2016-03-16 19:15:14 -07:00
2016-03-17 15:19:08 +00:00
2015-12-22 13:31:46 -05:00
2016-03-17 10:32:21 -07:00
2016-01-06 19:48:59 -05:00
2016-02-01 09:57:38 -08:00
2016-02-01 09:57:38 -08:00
2016-02-18 14:44:13 -08:00
2016-02-26 15:49:09 -05:00
2015-12-11 12:39:28 -05:00
2016-02-29 19:28:37 +08:00
2016-01-08 15:06:22 -05:00
2016-03-16 00:05:52 +08:00
2016-03-16 19:15:14 -07:00
2016-03-16 19:15:14 -07:00
2016-03-16 00:05:52 +08:00
2016-03-14 17:09:25 +02:00
2016-03-09 20:33:21 -08:00
2016-03-09 20:33:21 -08:00
2016-03-08 11:58:55 -05:00
2016-01-08 15:06:42 -05:00
2016-03-02 20:30:26 +08:00
2016-01-08 15:06:22 -05:00
2016-02-03 20:52:32 -05:00
2016-01-08 15:06:22 -05:00
2016-02-24 21:12:14 -05:00
2016-02-22 20:27:15 +01:00
2016-03-16 19:24:03 +11:00
2016-03-09 20:33:21 -08:00
2016-03-14 10:17:38 -07:00
2015-12-13 18:04:12 +02:00
2016-02-26 15:49:09 -05:00
2016-02-26 15:49:09 -05:00
2016-02-03 10:43:01 -08:00
2016-03-11 23:22:16 +08:00
2016-02-26 15:49:09 -05:00
2016-01-17 12:14:01 +01:00
2016-01-17 12:14:01 +01:00
2016-01-06 19:48:59 -05:00
2016-01-06 19:48:59 -05:00
2016-03-15 22:54:55 +01:00
2016-02-26 15:49:09 -05:00
2016-02-26 15:49:09 -05:00
2016-01-14 08:17:40 +00:00
2016-02-16 11:19:23 -08:00
2016-03-16 19:15:14 -07:00
2016-02-10 15:16:59 -05:00
2016-02-10 15:16:59 -05:00
2016-02-10 15:16:59 -05:00
2016-03-04 16:00:58 -05:00
2016-01-19 13:21:41 -05:00
2016-01-11 11:31:29 -05:00
2015-12-03 17:39:49 +01:00
2015-12-03 17:39:49 +01:00
2016-03-16 03:53:40 +00:00
2016-03-01 08:06:10 -08:00
2016-02-16 13:24:49 -08:00
2016-03-18 11:00:15 -07:00
2016-02-26 15:49:09 -05:00
2016-02-26 15:49:09 -05:00
2016-02-26 15:49:09 -05:00
2016-02-26 15:49:09 -05:00
2016-02-26 15:49:09 -05:00
2016-02-26 15:49:09 -05:00
2016-03-14 10:16:45 -07:00
2016-02-26 15:49:09 -05:00
2015-12-03 17:39:49 +01:00
2016-01-06 19:48:59 -05:00
2016-03-08 07:55:01 -08:00
2016-01-06 19:48:59 -05:00
2016-02-09 14:25:02 -05:00
2016-02-26 15:49:09 -05:00
2016-02-26 15:49:09 -05:00
2016-02-26 15:49:09 -05:00
2016-02-26 15:49:09 -05:00
2016-03-15 17:24:25 +01:00
2015-12-16 16:50:25 +01:00
2016-03-16 19:15:14 -07:00
2016-02-26 15:49:09 -05:00
2016-03-01 17:09:42 -05:00
2015-12-11 12:39:28 -05:00