diff options
-rw-r--r-- | lib/rainbows/epoll/client.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rainbows/epoll/client.rb b/lib/rainbows/epoll/client.rb index 2e45b26..a8eacab 100644 --- a/lib/rainbows/epoll/client.rb +++ b/lib/rainbows/epoll/client.rb @@ -147,11 +147,11 @@ module Rainbows::Epoll::Client when String buf = rv # retry when :wait_writable - break # queue + @wr_queue << buf.dup # >3-word 1.9 strings are copy-on-write + return EP.set(self, OUT) end while true end @wr_queue << buf.dup # >3-word 1.9 strings are copy-on-write - EP.set(self, OUT) end def close |