[ 
https://issues.apache.org/jira/browse/QPID-2410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835463#action_12835463
 ] 

Steve Huston commented on QPID-2410:
------------------------------------

This is happening because the max frame size negotiated on the AMQP session is 
64K but the max segment size reported from SSL is 16K; when the framing layer 
asks for send buffers, the SSL layer keeps handing back 16K  buffers, and the 
framing layer keeps throwing them away and asking for another, ad infinitum.

Either the SSL layer needs to break buffers up, or the SSL size needs to be 
taken into account when negotiating the AMQP max frame size. I suspect the 
latter, but am open to opinions while I research how the frame size is 
negotiated.

> perftest hang in SSL on Windows with large buffers
> --------------------------------------------------
>
>                 Key: QPID-2410
>                 URL: https://issues.apache.org/jira/browse/QPID-2410
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Client
>    Affects Versions: 0.7
>         Environment: Windows client, Linux broker
>            Reporter: Cliff Jansen
>            Assignee: Steve Huston
>
> The following command:
>   perftest --count 1 --size 102400 -P ssl --port 5671 --broker linuxhost 
> --username testuser --password secret --mechanism PLAIN
> hangs on a Windows client.  Reducing the message body size to 1024 bytes 
> makes the hang go away, as does turning off SSL.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to