Skip to content

Commit

Permalink
Reinstate correct @autoflush behavor.
Browse files Browse the repository at this point in the history
  • Loading branch information
gmallard committed Dec 13, 2019
1 parent cbdd6db commit 6f5514d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/connection/netio.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6f5514d

Please sign in to comment.