mirror of
https://github.com/apache/httpcomponents-client.git
synced 2025-02-09 11:35:30 +00:00
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:
parent
dbe368983c
commit
11c7af28c4
@ -165,6 +165,7 @@ public void setSocketTimeout(final Timeout timeout) {
|
|||||||
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user