BOSH packet delivery fails for larger packets with WritePendingException

Description

The new async BOSH logic cannot handle larger packets (seems like about > 64 KB) and fails to deliver correct responses to the client:

The reason is, that the AsyncContext.complete() method is called, while a write operation is still in progress.

As a consequence, clients only receive a partial response and will fail to parse it correctly.

Environment

None
Fixed
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

csh

Reporter

csh