qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordon Sim <g...@redhat.com>
Subject Re: Message size and authentication
Date Fri, 17 Apr 2009 15:24:42 GMT
Stefan Aeschbacher wrote:
> 2009/4/16 Gordon Sim <gsim@redhat.com>:
>> Stefan Aeschbacher wrote:
>>> Gordon Sim wrote:
>>>>  Stefan Aeschbacher wrote:
>>>>> I observed the following behaviour with the C++ broker on FC10 (with
>>>>> qpidd installed via yum and also a svn co from today). If I try to
>>>>> send a message with data bigger than ca. 64KB, the call to
>>>>> session.messageTransfer blocks. If I disable authentication with
>>>>> "--auth no",  messages of any size (tested up to 10MB) pass easily as
>>>>> expected.
>>>>>
>>>>> I used the "direct" example with a small modification to generate
>>>>> messages of different sizes (e.g. for (int j=0; j<165536; j++)
>>>>> message_data << "c";) to test this. With j<65495 as limit to
fill
>>>>> message_data, qpidd even crashes.
>>>>>
>>>>> Is this a known/reproducible issue?
>> Hi Stefan,
>>
>> Sorry for the delayed response.
>>
>> From the trace I see you are using digest-md5 and a sasl negotiated security
>> layer. I haven't tried digest-md5 myself yet, but it looks like you have
>> uncovered a bug, probably somewhere in the security layer support.
>>
>> I've raised a JIRA to track this:
>>
>> https://issues.apache.org/jira/browse/QPID-1819
>>
>> --Gordon
> 
> Hi Gordon,
> 
> thanks for your help. In that case I will use another authentication method.

You could also just set ConnectionSettings::maxSsf to 0 (that perhaps 
should be the default). That way you can still use digest-md5 
authentication, but you don't install a SASL security layer.

I'll be looking into the issue itself as soon as possible.

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


Mime
View raw message