[ 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to