You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Ken Giusti (JIRA)" <ji...@apache.org> on 2014/04/14 14:19:15 UTC

[jira] [Commented] (PROTON-560) Failing to transfer messages more than 4kB via AMQPS

    [ https://issues.apache.org/jira/browse/PROTON-560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13968291#comment-13968291 ] 

Ken Giusti commented on PROTON-560:
-----------------------------------

Reproducer (unit test update):

diff --git a/tests/python/proton_tests/ssl.py b/tests/python/proton_tests/ssl.py
index db19e6f..ed2e25d 100644
--- a/tests/python/proton_tests/ssl.py
+++ b/tests/python/proton_tests/ssl.py
@@ -18,7 +18,10 @@
 #
 
 import os, common
+import random
+import string
 import subprocess
+
 from proton import *
 from common import Skipped, pump
 
@@ -877,7 +880,9 @@ class MessengerSSLTests(common.Test):
 
         msg = Message()
         msg.address = "amqps://127.0.0.1:12345"
-        msg.body = "Hello World!"
+        # make sure a large, uncompressible message body works!
+        msg.body = "".join(random.choice(string.ascii_letters)
+                           for x in range(10099))
         trk = self.client.put(msg)
         self.client.send()

> Failing to transfer messages more than 4kB via AMQPS
> ----------------------------------------------------
>
>                 Key: PROTON-560
>                 URL: https://issues.apache.org/jira/browse/PROTON-560
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>    Affects Versions: 0.6
>         Environment: Fedora 64bit
>            Reporter: Margarita
>            Assignee: Ken Giusti
>
> We are using qpid-proton to transfer messages via SSL (AMQPS). While creating messages larger than 4 kB we get error SSL Failure[-2]: Unknown Error.
> Does qpid-proton handle large message?



--
This message was sent by Atlassian JIRA
(v6.2#6252)