Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-5845

[axis2-transport-http] HTTPSenderImpl doesn't close HttpGet, HttpPost objects

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • 1.7.0
    • None
    • transports
    • None

    Description

      The method releaseConnection() should be called on every HttpGet, HttpPost, HttpDelete, HttpPut objects in the finally block. Otherwise it will build up and eventually throw Timeout trying to get connection from pool.

      Egs:
      org.apache.axis2.transport.http.impl.httpclient4.HttpSenderImpl.sendViaPost() should include a postMethod.releaseConnection() in the finally block.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              andrei.xd23 Andrei Verdes
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: