Oren Kafka wrote:
> Hi,
> I’m using mina in two options:
> 1)    Regular socket
> 2)    SSLSocket
>
> The regular socket works fine but I have problems with the SSL, the problems
> are only with messages bigger than 1.5K !!!
> Using the SSL and these messages, I get a corrupted message, I’m
> transferring XML and it looks like it changes in the middle to binary mode.
> (as you can see below)
>
>                 <Element>
>                     <Name>RESOURCE_TYPE</Name>
>                     <Value1 xsi:type="xs:long"
> xmlns:xs="http://www.w3.org/2001/XMLSchema";>1</Value1>
>                     <Value2 xsi:type="xs:long"
> xmlns:xs="http://www.w3.org/2_ _ _ _ _ _ _ _ _ _
>
> Do you have an idea why it could happen?
>
> <snip/>
>
> Thanks in advance …
> Oren.
>   
Hi,

What does the MINA code look like? AFAICS the code in your mail doesn't
use MINA but plain sockets. Are you using a custom ProtocolDecoder?
Please post the rest of the code if possible.

-- 
Niklas Therning
www.spamdrain.net


Reply via email to