• Han-Wen Nienhuys's avatar
    splice: use syscall directly for splice I/O · a8bec8ce
    Han-Wen Nienhuys authored
    This avoids involving the go 1.9 poller in I/O, which causes hangs, as
    the poller does not understand the fcntl(O_NONBLOCK) tweak that we
    executed on the pipe's file descriptors.
    
    Fixes #164
    a8bec8ce
pair.go 1.18 KB