jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Stomp
  • STOMP-1

Infinite loop for null message body

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Labels:
    None
  • Environment:
    Ruby 1.8.5, stomp 1.0.5

Description

Stomp._transmit calls body.length, which throws an exception when the body is nil. The exception is caught inside transmit, which calls _transmit again from w/in a rescue block. This creates a lot of sockets and hammers the shit out of the broker (I get OutOfMemoryError in activeMQ). I feel 0 is good for nil messages, let me know if you think the message shouldn't be sent and I'll change the patch or write a test.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Text File
    loop.txt
    28/May/07 8:30 PM
    0.5 kB
    Dennis Byrne

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
There are no comments yet on this issue.

People

  • Assignee:
    Unassigned
    Reporter:
    Dennis Byrne
Vote (0)
Watch (0)

Dates

  • Created:
    28/May/07 8:30 PM
    Updated:
    28/May/07 8:30 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.