You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: httpclient5/src/main/java/org/apache/hc/client5/http/config/ConnectionConfig.java
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -95,12 +95,16 @@ public Timeout getSocketTimeout() {
95
95
}
96
96
97
97
/**
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>
99
103
* <p>
100
104
* A timeout value of zero is interpreted as an infinite timeout.
101
105
* </p>
102
106
*
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.
0 commit comments