Skip to content

Commit

Permalink
HTTPCLIENT-2299: Socket timeout value set via DefaultManagedHttpClien…
Browse files Browse the repository at this point in the history
…tConnection#setSocketTimeout is not correctly persisted and can be overwritten upon connection activation
  • Loading branch information
ok2c committed Sep 23, 2023
1 parent dbe3689 commit 11c7af2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ public void setSocketTimeout(final Timeout timeout) {
LOG.debug("{} set socket timeout to {}", this.id, timeout);
}
super.setSocketTimeout(timeout);
socketTimeout = timeout;
}

@Override
Expand Down

0 comments on commit 11c7af2

Please sign in to comment.