[ https://issues.apache.org/activemq/browse/AMQ-1466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40456 ]
Hiram Chirino commented on AMQ-1466: ------------------------------------ What version of the broker did you test against?? I just tested using ruby 1.8.2 on OS X and WIndows against the trunk version of the broker and I code above always connected fine. > 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 > Assignee: Hiram Chirino > > 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.