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 2007/07/26 21:22:03 UTC

[jira] Created: (HTTPCLIENT-676) memory leak in MultiThreadedHttpConnectionManager

memory leak in MultiThreadedHttpConnectionManager
-------------------------------------------------

                 Key: HTTPCLIENT-676
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-676
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: HttpConn
    Affects Versions: 3.1 RC1
            Reporter: Roland Weber
            Assignee: Roland Weber
            Priority: Minor
             Fix For: 3.1 Final


MultiThreadedHttpConnectionManager.(hostConfiguration) will create HostConnectionPool entries that will not be cleaned up unless they are later used for communication. This should be changed to not create pools in that method, but rather return 0 for a non-existent pool.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (HTTPCLIENT-676) memory leak in MultiThreadedHttpConnectionManager

Posted by "Roland Weber (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCLIENT-676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roland Weber updated HTTPCLIENT-676:
------------------------------------

    Attachment: 2k7-07-27-MTHCM-676.txt

please review

> memory leak in MultiThreadedHttpConnectionManager
> -------------------------------------------------
>
>                 Key: HTTPCLIENT-676
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-676
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpConn
>    Affects Versions: 3.1 RC1
>            Reporter: Roland Weber
>            Assignee: Roland Weber
>            Priority: Minor
>             Fix For: 3.1 Final
>
>         Attachments: 2k7-07-27-MTHCM-676.txt
>
>
> MultiThreadedHttpConnectionManager.getConnectionsInPool(hostConfiguration) will create HostConnectionPool entries that will not be cleaned up unless they are later used for communication. This should be changed to not create pools in that method, but rather return 0 for a non-existent pool.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Resolved: (HTTPCLIENT-676) memory leak in MultiThreadedHttpConnectionManager

Posted by "Roland Weber (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCLIENT-676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roland Weber resolved HTTPCLIENT-676.
-------------------------------------

    Resolution: Fixed

> memory leak in MultiThreadedHttpConnectionManager
> -------------------------------------------------
>
>                 Key: HTTPCLIENT-676
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-676
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpConn
>    Affects Versions: 3.1 RC1
>            Reporter: Roland Weber
>            Assignee: Roland Weber
>            Priority: Minor
>             Fix For: 3.1 Final
>
>         Attachments: 2k7-07-27-MTHCM-676.txt
>
>
> MultiThreadedHttpConnectionManager.getConnectionsInPool(hostConfiguration) will create HostConnectionPool entries that will not be cleaned up unless they are later used for communication. This should be changed to not create pools in that method, but rather return 0 for a non-existent pool.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (HTTPCLIENT-676) memory leak in MultiThreadedHttpConnectionManager

Posted by "Roland Weber (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCLIENT-676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roland Weber updated HTTPCLIENT-676:
------------------------------------

    Description: 
MultiThreadedHttpConnectionManager.getConnectionsInPool(hostConfiguration) will create HostConnectionPool entries that will not be cleaned up unless they are later used for communication. This should be changed to not create pools in that method, but rather return 0 for a non-existent pool.


  was:
MultiThreadedHttpConnectionManager.(hostConfiguration) will create HostConnectionPool entries that will not be cleaned up unless they are later used for communication. This should be changed to not create pools in that method, but rather return 0 for a non-existent pool.



> memory leak in MultiThreadedHttpConnectionManager
> -------------------------------------------------
>
>                 Key: HTTPCLIENT-676
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-676
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpConn
>    Affects Versions: 3.1 RC1
>            Reporter: Roland Weber
>            Assignee: Roland Weber
>            Priority: Minor
>             Fix For: 3.1 Final
>
>
> MultiThreadedHttpConnectionManager.getConnectionsInPool(hostConfiguration) will create HostConnectionPool entries that will not be cleaned up unless they are later used for communication. This should be changed to not create pools in that method, but rather return 0 for a non-existent pool.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (HTTPCLIENT-676) memory leak in MultiThreadedHttpConnectionManager

Posted by "Roland Weber (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HTTPCLIENT-676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12519091 ] 

Roland Weber commented on HTTPCLIENT-676:
-----------------------------------------

If I hear no complaints, I'll commit this patch this week-end.


> memory leak in MultiThreadedHttpConnectionManager
> -------------------------------------------------
>
>                 Key: HTTPCLIENT-676
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-676
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpConn
>    Affects Versions: 3.1 RC1
>            Reporter: Roland Weber
>            Assignee: Roland Weber
>            Priority: Minor
>             Fix For: 3.1 Final
>
>         Attachments: 2k7-07-27-MTHCM-676.txt
>
>
> MultiThreadedHttpConnectionManager.getConnectionsInPool(hostConfiguration) will create HostConnectionPool entries that will not be cleaned up unless they are later used for communication. This should be changed to not create pools in that method, but rather return 0 for a non-existent pool.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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