1 # -*- encoding: binary -*-
3 module Rainbows::EventMachine::ResponsePipe
4 # garbage avoidance, EM always uses this in a single thread,
5 # so a single buffer for all clients will work safely
14 @client.write(@io.read_nonblock(16384, BUF))
26 @io.close unless @io.closed?