Skip to content

Commit

Permalink
HTTPCORE-752: I/O reactor fails to initialize socket timeout for TLS …
Browse files Browse the repository at this point in the history
…connections correctly resulting in infinite (no timeout) by default
  • Loading branch information
ok2c committed Jun 16, 2023
1 parent 4f5bbaf commit 6f82d1c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@ private void processPendingChannels() throws IOException {
ioSessionDecorator,
sessionListener,
closedSessions);
dataChannel.upgrade(this.eventHandlerFactory.createHandler(dataChannel, attachment));
dataChannel.setSocketTimeout(this.reactorConfig.getSoTimeout());
dataChannel.upgrade(this.eventHandlerFactory.createHandler(dataChannel, attachment));
key.attach(dataChannel);
dataChannel.handleIOEvent(SelectionKey.OP_CONNECT);
}
Expand Down

0 comments on commit 6f82d1c

Please sign in to comment.