From 6f5514db237f31f7d00ff9bb8f5810e32efadcf8 Mon Sep 17 00:00:00 2001 From: "Guy M. Allard" Date: Fri, 13 Dec 2019 09:56:40 -0500 Subject: [PATCH] Reinstate correct @autoflush behavor. --- lib/connection/netio.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/connection/netio.rb b/lib/connection/netio.rb index c0df493..602767d 100644 --- a/lib/connection/netio.rb +++ b/lib/connection/netio.rb @@ -277,8 +277,8 @@ def _transmit(used_socket, command, headers = {}, body = '') end end used_socket.write "\0" - # used_socket.flush if autoflush - used_socket.flush + used_socket.flush if @autoflush + # used_socket.flush if @protocol >= Stomp::SPL_11 @ls = Time.now.to_f if @hbs