SocketTimeout
- Defines the socket timeout (SO_TIMEOUT) in milliseconds, which is the timeout for waiting for data or, put differently, a maximum period inactivity between two consecutive data packets).
ConnectTimeout
- Determines the timeout in milliseconds until a connection is established. A timeout value of zero is interpreted as an infinite timeout.
ConnectionRequestTimeout
- Returns the timeout in milliseconds used when requesting a connection from the connection manager. A timeout value of zero is interpreted as an infinite timeout.
What you're looking for is SocketTimeout.
https://stackoverflow.com/questions/41291976/apache-httpclient-timeout-at-any-moment
标签:read,什么,zero,interpreted,connection,timeout,infinite,milliseconds From: https://www.cnblogs.com/silyvin/p/17594011.html