hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCORE-443) Overflow in Connection TTL
Date Wed, 17 May 2017 15:33:04 GMT

    [ https://issues.apache.org/jira/browse/HTTPCORE-443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16014219#comment-16014219

ASF GitHub Bot commented on HTTPCORE-443:

Github user pono closed the pull request at:


> Overflow in Connection TTL
> --------------------------
>                 Key: HTTPCORE-443
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-443
>             Project: HttpComponents HttpCore
>          Issue Type: Bug
>          Components: HttpCore, HttpCore NIO
>    Affects Versions: 4.4.6
>            Reporter: Andrew Shore
>            Priority: Minor
>              Labels: easyfix, performance
>             Fix For: 4.4.7, 5.0-alpha3
>   Original Estimate: 24h
>  Remaining Estimate: 24h
> 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

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message