containerd/runtime/v2/shim
Kevin Parsons daf12cd194 Improve error return from AnonDialer on Windows
AnonDialer will now return a "not found" error if the pipe is not found
before the timeout is reached. If the pipe exists but the timeout is
reached while attempting to connect, the timeout error will still be
returned.

This will allow the error handling logic to work properly when
connecting to the shim log pipe. An error message is only logged if the
error is not "not found", so now log noise from log pipes that were
never intended to be created by the shim will be hidden.

This change also cleans up the control flow for AnonDialer on Windows.
The new code should be more easily readable, but the only semantic
change is the error return value change.

Signed-off-by: Kevin Parsons <kevpar@microsoft.com>
2019-07-30 17:20:37 -07:00
..
publisher.go Move ttrpc client to pkg/ttrpcutil 2019-05-20 16:44:49 -07:00
reaper_unix.go Revert v2 dropped events 2018-11-16 11:34:15 -05:00
shim_darwin.go Abstract to SocketAddress 2018-07-27 12:39:53 -04:00
shim_freebsd.go Fix freebsd build 2018-12-16 14:27:42 +00:00
shim_linux.go Abstract to SocketAddress 2018-07-27 12:39:53 -04:00
shim_test.go Forward containerd debug to shim invocation 2018-09-27 07:46:01 -07:00
shim_unix.go Add TTRPC client 2019-05-13 21:05:07 -07:00
shim_windows_test.go Add blocking buffered writes to shim 2018-10-02 11:10:43 -07:00
shim_windows.go Add TTRPC client 2019-05-13 21:05:07 -07:00
shim.go Add TTRPC client 2019-05-13 21:05:07 -07:00
util_unix.go Set shim OOM scores to +1 containerd daemon score 2019-06-27 11:14:14 -04:00
util_windows.go Improve error return from AnonDialer on Windows 2019-07-30 17:20:37 -07:00
util.go Pass options on shim create for v2 2019-05-17 21:02:23 +00:00