Files
linuxkit/alpine
David Scott 0affdd986d 9pudc: add defer conn.Close() for the connection to docker
Before this patch we were using `conn.CloseRead()` and `conn.CloseWrite()`
to flush and signal EOF properly in the proxy, but we forgot to actually
close the file descriptor. As a result we leaked one fd per request,
until the GC came along and closed them for us. This could explain why
the process appeared to block: new connections could not be accepted
because we were out of fds, but once the GC had happened (or we closed
some 9P fds as a result of the client on the host closing its connection)
then the process would unwedge.

This doesn't explain why the 9P filesystem itself would occasionally become
unresponsive in Linux, although apparently still processing requests normally
if you connect to it directly over the host-side socket.

Signed-off-by: David Scott <dave.scott@docker.com>
2016-02-12 10:40:01 +00:00
..
2016-02-10 14:31:37 -08:00
2016-01-13 17:48:42 +00:00
2016-01-13 17:48:42 +00:00
2016-02-10 14:31:37 -08:00
2016-01-25 11:47:35 +00:00
2016-01-11 14:24:30 +00:00