David Rosenstrauch wrote:

I would add a forth case :
* more than one complete message in a single buffer.

In this case, you have to loop until you have decoded all the messages, calling the next filter for each decoded message.

This is what we do in Apache Directory to decode LDAP requests.

Hmmm ... I might not actually be handling this case. I'll have to check my code.
I just mentionned it because we have been hit by this problem ;)


--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org


Reply via email to