umegaya / pulpo

multi-thread network server library build with coroutine and luajit FFI at ground level
7 stars 2 forks source link

remove error raising by pipe error #18

Closed umegaya closed 10 years ago

umegaya commented 10 years ago

to fix error on benchmark, we change the behavior of io:read so that is returns nil for pipe error (mainly because of closing remote peer), instead of raise pipe exception.