trysplice implies SPLICE_F_NONBLOCK for flags
commitc32ddca888259c391e126154ff62fdcdb2e3759c
authorEric Wong <normalperson@yhbt.net>
Sun, 27 Feb 2011 00:47:40 +0000 (26 16:47 -0800)
committerEric Wong <normalperson@yhbt.net>
Sun, 27 Feb 2011 00:54:42 +0000 (26 16:54 -0800)
tree5a118e99ccba6212bc64add79e0e2075a50e5514
parent4ba0bb32bb717d1f77c2f4f3cb41e646eb243a7f
trysplice implies SPLICE_F_NONBLOCK for flags

It makes more sense this way if non-blocking I/O is expected.
ext/io_splice/io_splice_ext.c
test/test_io_splice.rb