hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Becke (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HTTPCLIENT-597) MultithreadedConnectionManager and IdleConnectionTimeoutThread improvements
Date Fri, 08 Sep 2006 16:19:22 GMT
     [ http://issues.apache.org/jira/browse/HTTPCLIENT-597?page=all ]

Michael Becke resolved HTTPCLIENT-597.
--------------------------------------

    Resolution: Fixed
      Assignee: Michael Becke

Patch applied.

> MultithreadedConnectionManager and IdleConnectionTimeoutThread improvements
> ---------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-597
>                 URL: http://issues.apache.org/jira/browse/HTTPCLIENT-597
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: HttpClient
>    Affects Versions: 3.1 Alpha 1
>            Reporter: Michael Becke
>         Assigned To: Michael Becke
>            Priority: Minor
>             Fix For: 3.1 Beta 1
>
>         Attachments: patch.txt
>
>
> Changes to MultithreadedConnectionManager and IdleConnectionTimeoutThread following the
suggestions of Balazs SZÜCS.
> -------- Forwarded Message --------
> From: SZÜCS Balazs <Balazs.Szuecs@wave-solutions.com>
> Reply-To: HttpClient User Discussion
> <httpclient-user@jakarta.apache.org>
> To: 'HttpClient User Discussion' <httpclient-user@jakarta.apache.org>
> Subject: RE: MultithreadedConnectionManager pooling strategy
> Date: Mon, 15 May 2006 15:26:08 +0200
> Hello,
> I made two changes to the HttpClient code:
> 1) in the class ConnectionPool in the method getFreeConnection( ... ) I
> changed freeConnections.removeFirst() to freeConnections.removeLast(). Now
> the container for free connections behaves as a stack rather than a queue.
> 2) additionally I changed the IdleConnectionTimeoutThread, in the run()
> method I added connectionManager.deleteClosedConnections() so that the pool
> size is maintained correctly.
> What do you think?
> Balazs

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


Mime
View raw message