You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Roland Weber (JIRA)" <ji...@apache.org> on 2006/08/05 22:22:13 UTC

[jira] Created: (HTTPCORE-7) ConnectionReuseStrategy should have access to the connection

ConnectionReuseStrategy should have access to the connection
------------------------------------------------------------

                 Key: HTTPCORE-7
                 URL: http://issues.apache.org/jira/browse/HTTPCORE-7
             Project: HttpComponents Core
          Issue Type: Improvement
          Components: HttpCore
    Affects Versions: 4.0-alpha2
            Reporter: Roland Weber
            Priority: Minor
             Fix For: 4.0-alpha3


The ConnectionReuseStrategy should have access to the connection in order to allow strategies based on the connection state, like:
- close after X requests/responses
- close after X minutes of use

patch follows

cheers,
  Roland


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Updated: (HTTPCORE-7) ConnectionReuseStrategy should have access to the connection

Posted by "Roland Weber (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HTTPCORE-7?page=all ]

Roland Weber updated HTTPCORE-7:
--------------------------------

    Attachment: 2k6-08-05-core-reusestrategy-1.txt

patch, take 1

There's the old @version problem in ConnectionReuseStrategy.java. Change that line to

  * @version $Revision$

before applying this patch.

I've taken the liberty to remove some code redundancy from the existing test cases when adding mine.

cheers,
  Roland


> ConnectionReuseStrategy should have access to the connection
> ------------------------------------------------------------
>
>                 Key: HTTPCORE-7
>                 URL: http://issues.apache.org/jira/browse/HTTPCORE-7
>             Project: HttpComponents Core
>          Issue Type: Improvement
>          Components: HttpCore
>    Affects Versions: 4.0-alpha2
>            Reporter: Roland Weber
>            Priority: Minor
>             Fix For: 4.0-alpha3
>
>         Attachments: 2k6-08-05-core-reusestrategy-1.txt
>
>
> The ConnectionReuseStrategy should have access to the connection in order to allow strategies based on the connection state, like:
> - close after X requests/responses
> - close after X minutes of use
> patch follows
> cheers,
>   Roland

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Commented: (HTTPCORE-7) ConnectionReuseStrategy should have access to the connection

Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HTTPCORE-7?page=comments#action_12425997 ] 
            
Oleg Kalnichevski commented on HTTPCORE-7:
------------------------------------------

Makes sense. Patch away.

Oleg

> ConnectionReuseStrategy should have access to the connection
> ------------------------------------------------------------
>
>                 Key: HTTPCORE-7
>                 URL: http://issues.apache.org/jira/browse/HTTPCORE-7
>             Project: HttpComponents Core
>          Issue Type: Improvement
>          Components: HttpCore
>    Affects Versions: 4.0-alpha2
>            Reporter: Roland Weber
>            Priority: Minor
>             Fix For: 4.0-alpha3
>
>         Attachments: 2k6-08-05-core-reusestrategy-1.txt
>
>
> The ConnectionReuseStrategy should have access to the connection in order to allow strategies based on the connection state, like:
> - close after X requests/responses
> - close after X minutes of use
> patch follows
> cheers,
>   Roland

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Resolved: (HTTPCORE-7) ConnectionReuseStrategy should have access to the connection

Posted by "Roland Weber (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HTTPCORE-7?page=all ]

Roland Weber resolved HTTPCORE-7.
---------------------------------

    Resolution: Fixed
      Assignee: Roland Weber

patch committed

> ConnectionReuseStrategy should have access to the connection
> ------------------------------------------------------------
>
>                 Key: HTTPCORE-7
>                 URL: http://issues.apache.org/jira/browse/HTTPCORE-7
>             Project: HttpComponents Core
>          Issue Type: Improvement
>          Components: HttpCore
>    Affects Versions: 4.0-alpha2
>            Reporter: Roland Weber
>         Assigned To: Roland Weber
>            Priority: Minor
>             Fix For: 4.0-alpha3
>
>         Attachments: 2k6-08-05-core-reusestrategy-1.txt
>
>
> The ConnectionReuseStrategy should have access to the connection in order to allow strategies based on the connection state, like:
> - close after X requests/responses
> - close after X minutes of use
> patch follows
> cheers,
>   Roland

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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