linuxkit / virtsock

Go bindings for virtio and Hyper-V sockets
Other
87 stars 29 forks source link

Retry unix.Connect on EINTR #33

Closed beweedon closed 7 years ago

beweedon commented 7 years ago

The implementation of unix.Connect does not retry the underlying system call when receiving an EINTR, so it makes sense for this wrapper to perform the retry instead.

rn commented 7 years ago

Thanks, looks reasonable to me.

Could you add a Signed-off-by line to the commit?

rn commented 7 years ago

Thanks for the patch!