activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Takita (JIRA)" <j...@apache.org>
Subject [jira] Created: (AMQ-1466) Stomp connections hang when null byte written too quickly
Date Tue, 16 Oct 2007 01:38:23 GMT
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.


Mime
View raw message