You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2012/10/02 17:47:07 UTC

[jira] [Resolved] (CB-1565) Android FileTransfer sets the SSLSocketFactory globally instead of directly on the connection

     [ https://issues.apache.org/jira/browse/CB-1565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Grieve resolved CB-1565.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.0

https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-android.git;a=commit;h=9c6c782146bb294e279539c81c2794e0ae1b16ec
                
> Android FileTransfer sets the SSLSocketFactory globally instead of directly on the connection
> ---------------------------------------------------------------------------------------------
>
>                 Key: CB-1565
>                 URL: https://issues.apache.org/jira/browse/CB-1565
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.1.0
>            Reporter: Andrew Grieve
>            Assignee: Andrew Grieve
>            Priority: Minor
>             Fix For: 2.2.0
>
>
> This will break when doing concurrent FileTransfers.
> We should just change:
> HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());
> to:
> connection.setSSLSocketFactory()

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira