Subject: | large message SSL receive stuck |
Date: | Mon, 17 Sep 2012 14:15:28 +0000 |
To: | "bug-Net-STOMP-Client [...] rt.cpan.org" <bug-Net-STOMP-Client [...] rt.cpan.org> |
From: | Steffen Plotner <swplotner [...] amherst.edu> |
Hi Lionel,
Thank you for your great Net::STOMP::Client library. I have been working with the library for several months studying the world of message passing.
I have run into an issue with SSL and receiving messages that are larger than 16KB. Basically, I see on the wire the first 16KB being delivered and that's it. Sending a message larger than 16KB is not a problem. It arrives at the ActiveMQ broker, I can see it in the queue, however, the client that subscribes to the queue does not receive any message (only the Net::STOMP::Client library see the first 16KB). Is that 16KB related to the SSL chunk size?
If I switch the URL to non-SSL everything works fine.
These are the URLs (I know, they say failover, there is a second node, however, for debugging this problem, I made sure that I am dealing with a single node only):
#
# 16KB receive problem
#
'uri' => 'failover:(ssl://activemq-node1.amherst.edu:61612)',
#
# works
#
'uri' => 'failover:(tcp://activemq-node1.amherst.edu:61613)',
I have downloaded version Net-STOMP-Client-1.7_5 and have this problem (also with 1.5 and 1.7).
Steffen
Show quoted text
_______________________________________________________________________________________________
Steffen Plotner Amherst College Tel (413) 542-2348
Systems/Network Administrator/Programmer PO BOX 5000 Fax (413) 542-2626
Systems & Networking Amherst, MA 01002-5000 swplotner@amherst.edu