diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rainbows/event_machine.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/event_machine.rb b/lib/rainbows/event_machine.rb index cf59cbf..5586d3e 100644 --- a/lib/rainbows/event_machine.rb +++ b/lib/rainbows/event_machine.rb @@ -70,7 +70,7 @@ module Rainbows if @body @buf << data @_io.shutdown(Socket::SHUT_RD) if @buf.size > 0x1c000 - return EM.next_tick { receive_data('') } + EM.next_tick { receive_data('') } else on_read(data) end |