-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
INT-4465: Fix delay in close propagation with NIO
JIRA: https://jira.spring.io/browse/INT-4465 There is a one second delay before a socket close is propagated if there is an active assembler. This is generally only a problem with deserializers that use EOF to signal message end (such as the `ByteArrayElasticRawDeserializer`). Attempt to insert an EOF marker into the buffer queue so that the `getNextBuffer()` will exit immediately on `close()` if it is blocked awaiting a buffer. **cherry-pick to 5.0.x, 4.3.x** (cherry picked from commit d9186f1)
- Loading branch information
1 parent
8e1f048
commit 9dcb28b
Showing
2 changed files
with
44 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters