On Nov 21, 2007 6:46 AM, stork <[EMAIL PROTECTED]> wrote:
> Hi,
> I'm using a basic stream cipher to encrypt bits of the data sent between the
> client and MINA server, and I'm finding quite frequently that the
> client/sever stream from client to server is getting out of sync. I believe
> this is to do with MINA dropping packets, as there's no exceptions being
> thrown in my protocol decoder.

You might be throwing away the second message in the same packet,
which means, assuming that you received a packet that contains two
messages:

[Message A][Message B]

Then your decoder implementation should be able to decode the two messages.

> Is there any possible situation that would cause MINA to be dropping packets
> before they're decoded?

No.  If so, it's a bug.

HTH,
Trustin
-- 
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP Key ID: 0x0255ECA6

Reply via email to