Skip to content

Commit

Permalink
Merge pull request #1215 from fl4via/UNDERTOW-1856
Browse files Browse the repository at this point in the history
[UNDERTOW-1856] Suspend reads when starting to a new request at HttpR…
  • Loading branch information
fl4via authored Jul 20, 2021
2 parents 5f2a2d5 + cf52a29 commit 1e4ef6a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ public void handleEventWithNoRunningRequest(final ConduitStreamSourceChannel cha
if(parseTimeoutUpdater != null) {
parseTimeoutUpdater.requestStarted();
}
connection.getOriginalSourceConduit().suspendReads();

final HttpServerExchange httpServerExchange = this.httpServerExchange;
httpServerExchange.setRequestScheme(connection.getSslSession() != null ? "https" : "http");
Expand Down

0 comments on commit 1e4ef6a

Please sign in to comment.