LichKing-lee opened a new pull request, #712:
URL: https://github.com/apache/httpcomponents-client/pull/712

   ### What problem does this solve?
   
   The Javadoc for responseTimeout and socketTimeout does not clearly describe 
their interaction. Many users assume they are independent, but in classic I/O 
responseTimeout actually overrides the connection’s socketTimeout during 
request execution. This can cause confusion when diagnosing timeout behavior.
   
   ### What does this PR do?
   
   This PR updates the Javadoc of both RequestConfig#setResponseTimeout and 
ConnectionConfig#setSocketTimeout to explicitly document that behavior:
   - responseTimeout overrides socketTimeout for the duration of a request.
   - socketTimeout serves as the default unless overridden.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to