qpid-proton mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Sokolov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PROTON-560) Failing to transfer messages more than 4kB via AMQPS
Date Tue, 29 Apr 2014 16:17:15 GMT

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

Denis Sokolov commented on PROTON-560:
--------------------------------------

BTW, Ken, I see another issue in this code:
*_we increase max_frame_*
{noformat}
if (!max_frame) 
    max_frame = ssl->in_size * 2;
{noformat}
*_allocate new buffer_*
{noformat}
if (ssl->in_size < max_frame) {
// no max frame limit - grow it.
char *newbuf = (char *)malloc( max_frame );
{noformat}
 *_ Wow! Error! we get huge size stored in in_side field_*
{noformat}
ssl->in_size *= max_frame;
{noformat}
*_shouldn't it be just_* 
{noformat}ssl->in_size = max_frame;{noformat} *_?_*

> 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
>             Fix For: 0.7
>
>
> 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)

Mime
View raw message