# File lib/stomp/connection.rb, line 359 def receive super_result = __old_receive if super_result.nil? && @reliable errstr = "connection.receive returning EOF as nil - resetting connection.\n" if @logger && @logger.respond_to?(:on_miscerr) @logger.on_miscerr(log_params, errstr) else $stderr.print errstr end @socket = nil super_result = __old_receive end return super_result end