Skip to content

Commit

Permalink
UNDERTOW-2275 Suspend reads before terminating a request to cleanup r…
Browse files Browse the repository at this point in the history
…ead-timeout
  • Loading branch information
TomasHofman committed Jun 2, 2023
1 parent 219e23a commit e8cbf1e
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -1341,6 +1341,7 @@ void terminateRequest() {
return;
}
if (requestChannel != null) {
requestChannel.suspendReads();
requestChannel.requestDone();
}
this.state = oldVal | FLAG_REQUEST_TERMINATED;
Expand Down

0 comments on commit e8cbf1e

Please sign in to comment.