We're updating the issue view to help you get more done. 

Openfire not closing stream gracefully with </stream:stream>

Description

In NIOConnection the close() method first sets the state to State.CLOSED and then delivers the closing stream element:

However, the deliverRawText method checks for !isClosed() which is false by then, because it's aleady closed:

As consequence the closing stream element is never sent.

Environment

None

Acceptance Test - Entry

None

Assignee

Dave Cridland

Reporter

csh

Labels

None

Expected Effort

None

Ignite Forum URL

None

Components

Fix versions

Affects versions

Priority

Major
Configure