On Mon, Jul 11, 2011 at 9:04 PM, Niklas Gustavsson <[email protected]> wrote: > On Mon, Jul 11, 2011 at 7:43 PM, Alan D. Cabrera <[email protected]> wrote: >> Is there a concrete use case where this is necessary? If a filter barfs in >> such a way that it leaks an exception should not this always be treated as a >> critical error? > > You might at least allow the implementation to handle the error before > closing the session. In the case of XMPP, we might want to send an > error stanza and a closing stream stanza before the session is closed. > > /niklas >
In modbus yo send an error code on corrupted message and you don't close the session. I don't say I'm agree, but we need to be able to implement all the know standards :) Julien
