HTTPCLIENT-2299: Socket timeout value set via DefaultManagedHttpClientConnection#setSocketTimeout is not correctly persisted and can be overwritten upon connection activation

This commit is contained in:
Oleg Kalnichevski 2023-09-22 15:42:03 +02:00
parent dbe368983c
commit 11c7af28c4
1 changed files with 1 additions and 0 deletions

View File

@ -165,6 +165,7 @@ final class DefaultManagedHttpClientConnection
LOG.debug("{} set socket timeout to {}", this.id, timeout); LOG.debug("{} set socket timeout to {}", this.id, timeout);
} }
super.setSocketTimeout(timeout); super.setSocketTimeout(timeout);
socketTimeout = timeout;
} }
@Override @Override