Skip to content

Commit

Permalink
Use the correct API for setting auto-read option
Browse files Browse the repository at this point in the history
Signed-off-by: Violeta Georgieva <violeta.georgieva@broadcom.com>
  • Loading branch information
violetagg committed Jan 28, 2025
1 parent 4f2c12a commit 68dba4e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@ else if (request.headers().contains(HttpHeaderNames.UPGRADE)) {
// HTTP/1.1 TLS Upgrade (RFC-2817) requests (GET/HEAD/OPTIONS) with empty / non-empty payload
stopReadTimeout();
//force auto read to enable more accurate close selection now inbound is done
channel().config().setAutoRead(true);
channel().setOption(ChannelOption.AUTO_READ, true);
onInboundComplete();
}
}
Expand Down

0 comments on commit 68dba4e

Please sign in to comment.