Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-1357

Problem using HTTPS when using proxy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.2.5
    • 4.2.6, 4.3 Beta2
    • HttpClient (classic)
    • None
    • Use a repacked httpclient (repacked by jarjar) version 4.2.5 on android 2.2.2

    Description

      Problem described at: http://code.google.com/p/android/issues/detail?id=2690. The fix is to set default port for scheme to avoid passing -1 as port, which would cause an IllegalArgumentException.
      In method updateSecureConnection, located at file org.apache.http.impl.conn.DefaultClientConnectionOperator.java, line 233, should use schm.resolvePort(target.getPort()) instead of target.getPort() to avoid passing -1 as port. In android, ther is an patch review at https://android-review.googlesource.com/#/c/15755/1/src/org/apache/http/impl/conn/DefaultClientConnectionOperator.java

      Attachments

        Activity

          People

            Unassigned Unassigned
            raise raise
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: