Flush pending packets before closing the connection

Description

When a connection is closed immediately after sending a message the message gets dropped. Instead we should flush all remaining packets (to send) and stop accepting new packets.

Environment

None

Activity

Show:

MattM 
February 4, 2007 at 4:11 PM

Changed logic in PacketWriter to flush the queue when shutting down the writing thread.

Aditya Saxena 
July 7, 2006 at 12:40 AM

How do I get access to the Fix Version 3.0.0 for this fix https://igniterealtime.atlassian.net/browse/SMACK-10#icft=SMACK-10?

Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Created October 26, 2004 at 10:08 AM
Updated February 4, 2007 at 4:11 PM
Resolved February 4, 2007 at 4:11 PM

Flag notifications