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 @@ 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
|
||||||
|
|
Loading…
Reference in New Issue