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

is related to

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created April 6, 2017 at 8:28 AM
Updated July 7, 2017 at 6:15 PM
Resolved July 7, 2017 at 6:15 PM