jira-importer opened a new issue, #1413:
URL: https://github.com/apache/httpcomponents-core/issues/1413

   **[Andrew 
Shore](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=shorea8093)**
 opened 
**[HTTPCORE-443](https://issues.apache.org/jira/browse/HTTPCORE-443?redirect=false)**
 and commented
   
   There is a possibility of an overflow at 
https://github.com/apache/httpcore/blob/4.4.x/httpcore/src/main/java/org/apache/http/pool/PoolEntry.java#L88
 when calculating the validity deadline. When Long.MAX_VALUE (or values 
sufficiently close to it) is used as the TTL it results in a negative validity 
deadline which causes every connection to be single use. This is very 
surprising behavior and may not be immediately obvious in test environments.
   
   
   ---
   
   **Affects:** 4.4.6
   
   **Remote Links:**
   - [GitHub Pull Request `#35`
   ](https://github.com/apache/httpcomponents-core/pull/35)
   - [GitHub Pull Request `#35`
   ](https://github.com/apache/httpcore/pull/35)
   
   **Backported to:** 
[4.4.7](https://github.com/apache/httpcomponents-core/milestone/44?closed=1)
   


-- 
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