add kgio_read! methods which may raise EOFError
commitb168cc894037620cab82fa82f3ab37a3aab81570
authorEric Wong <e@yhbt.net>
Tue, 5 Oct 2010 22:26:57 +0000 (5 15:26 -0700)
committerEric Wong <e@yhbt.net>
Tue, 5 Oct 2010 22:26:57 +0000 (5 15:26 -0700)
tree0ea6bd75fe8442f548c5923705f186f0bb553c26
parent870ada92db7071c7982913e508ac35b97d6e8761
add kgio_read! methods which may raise EOFError

Except EOFError is gently raised to not include a huge
backtrace.  Large backtraces can be a performance problem on
busy servers that malicious clients may exploit to deny service.
ext/kgio/read_write.c
test/lib_read_write.rb