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

Maxim Rydkin commented on QPID-2410:
------------------------------------

What I'm seeing in 0.34 is:
1. That framing code (broker: qpid::framing::SendContent::operator()  client: 
SessionImpl::sendContent(...)) produces chunks of the 
size=maxFrameSize-AMQFrame::frameOverhead().

2. The AIO makes buffers of size maxFrameSize, but SSL AIO reduces available 
encodable space by SChannel's SSL (cbHeader + cbTrailer)

3. So then the chunks made by the framing code can't be encoded into any of the 
buffers made. 

Maybe the framing code needs to be aware of the negotiated protocol's  overhead 
and make appropriately sized chunks, at least as a stop-gap solution, while the 
more efficient solution is being found?

 

> 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 was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to