rainbows.git about / heads / tags Unicorn for sleepy apps and slow clients
blob e4cb686483c6e4f04dcb84fdff586360e4dce049 373 bytes (raw) $ git show v2.1.0:lib/rainbows/socket_proxy.rb # shows this blob on the CLI
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
# -*- encoding: binary -*- # :enddoc: # module Rainbows::SocketProxy def kgio_addr to_io.kgio_addr end def kgio_read(size, buf = "") to_io.kgio_read(size, buf) end def kgio_read!(size, buf = "") to_io.kgio_read!(size, buf) end def kgio_trywrite(buf) to_io.kgio_trywrite(buf) end def timed_read(buf) to_io.timed_read(buf) end end
git clone https://yhbt.net/rainbows.git