Skip to content

Commit dbb960a

Browse files
committed
Adjust text after PR review.
1 parent 77670c6 commit dbb960a

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

httpclient5/src/main/java/org/apache/hc/client5/http/config/ConnectionConfig.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,16 @@ public Timeout getSocketTimeout() {
9595
}
9696

9797
/**
98-
* Gets the timeout until a new connection is fully established.
98+
* Gets the timeout until the target endpoint acknowledges accepting the connection request.
99+
* <p>
100+
* Note that isn't the same time as the new connection being fully established. An HTTPS connection cannot be considered fully established until the TLS
101+
* handshake has been successfully completed.
102+
* </p>
99103
* <p>
100104
* A timeout value of zero is interpreted as an infinite timeout.
101105
* </p>
102106
*
103-
* @return the timeout until a new connection is fully established, defaults to 3 minutes.
107+
* @return the ttimeout until the target endpoint acknowledges accepting the connection request, defaults to 3 minutes.
104108
* @see Builder#setConnectTimeout(Timeout)
105109
*/
106110
public Timeout getConnectTimeout() {

0 commit comments

Comments
 (0)