Stomp connections hang when null byte written too quickly
---------------------------------------------------------

                 Key: AMQ-1466
                 URL: https://issues.apache.org/activemq/browse/AMQ-1466
             Project: ActiveMQ
          Issue Type: Bug
          Components: Transport
    Affects Versions: 5.2.0
         Environment: Ubuntu Linux; Java 1.6
            Reporter: Brian Takita


When running this ruby script, ActiveMQ hangs. If I uncomment the sleep, it 
works.
require "timeout"
conn = TCPSocket.new('0.0.0.0', 61613)

conn.puts "CONNECT"
conn.puts ""
conn.puts "login:"
conn.puts "password:"
conn.puts ""
#sleep 0.1
conn.puts "\0"

p conn.gets
p conn.gets
p conn.gets


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to