Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-1565

Android FileTransfer sets the SSLSocketFactory globally instead of directly on the connection

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.0
    • 2.2.0
    • cordova-android
    • None

    Description

      This will break when doing concurrent FileTransfers.

      We should just change:
      HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());

      to:
      connection.setSSLSocketFactory()

      Attachments

        Activity

          People

            agrieve Andrew Grieve
            agrieve Andrew Grieve
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: