incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Grieve (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-1516) FileTransfer.abort() has a significant delay before aborting
Date Fri, 21 Sep 2012 03:54:09 GMT
Andrew Grieve created CB-1516:
---------------------------------

             Summary: FileTransfer.abort() has a significant delay before aborting
                 Key: CB-1516
                 URL: https://issues.apache.org/jira/browse/CB-1516
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
    Affects Versions: 2.2.0
            Reporter: Andrew Grieve
            Assignee: Andrew Grieve
            Priority: Minor
             Fix For: 2.2.0


For this to work, we need to abort the connection right away instead of waiting for the pending
read() / write() to finish.

Relevant article here:
http://blog.codepainters.com/2012/02/17/why-java-nio-is-a-better-idea-for-android/

Looks like we should use java.nio for this to be possible (bug-free) on Android.

--
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

Mime
View raw message