lib/bunny/cruby/ssl_socket.rb in bunny-2.11.0 vs lib/bunny/cruby/ssl_socket.rb in bunny-2.12.0.rc1
- old
+ new
@@ -22,9 +22,14 @@
else
# 2.0
[Errno::EAGAIN, Errno::EWOULDBLOCK, IO::WaitWritable]
end
+ def initialize(*args)
+ super
+ @__bunny_socket_eof_flag__ = false
+ end
+
# Reads given number of bytes with an optional timeout
#
# @param [Integer] count How many bytes to read
# @param [Integer] timeout Timeout
#