MobileChromeApps / chrome-app-developer-tool

Mirror of Apache Cordova app harness
Other
202 stars 33 forks source link

cca push of large apps fails part way through #43

Closed agrieve closed 9 years ago

agrieve commented 9 years ago

Easy way to test this out is to add a ~30meg video to the default project. It also happens with the Topeka app.

cca push will fail half way through. A second run of it will change to doing a per-file sync and so eventually succeeds (at least in Topeka's case).

Some debugging showed that the problem is in the network layer somewhere. The JS just stops receiving chunk callbacks.

As a first stab at this, let's update to the new chrome.sockets.tcpServer API and see if that helps at all.