Skip to content

Commit

Permalink
[UNDERTOW-2076] At AbstractFramedChannel, check for receivesSuspended…
Browse files Browse the repository at this point in the history
…* variables before resuming suspending.

Signed-off-by: Flavia Rainone <frainone@redhat.com>
  • Loading branch information
fl4via committed May 16, 2023
1 parent f299481 commit 1f7fb30
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -804,6 +804,8 @@ public synchronized void resumeReceives() {
}

private void doResume() {
if (receivesSuspendedTooManyQueuedMessages || receivesSuspendedByUser || receivesSuspendedTooManyBuffers)
return;
//NOTE: this should not require syncing with below part
final ReferenceCountedPooled localReadData = this.readData;
if (localReadData != null && !localReadData.isFreed()) {
Expand Down

0 comments on commit 1f7fb30

Please sign in to comment.