Client connection may be closed before flushing end of stream stanza

Description

By default write operations in MINA are asynchronous and closing a socket connection does not wait for queued packets to be flushed. We need to make the NIOConnection#close() synchronous so that the </stream:stream> gets actually delivered before closing the socket.

Environment

None

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created February 14, 2007 at 7:34 AM
Updated February 14, 2007 at 7:36 AM
Resolved February 14, 2007 at 7:36 AM