User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:18.104.22.168) Gecko/2008071718 (Gentoo) Firefox/3.0.1 Build Identifier: 22.214.171.124 Problem occurs when update is marked as minor. Xulrunner is not downloading pointed update, but it creates dir structure (updates/0), and update.status file. Status is marked as downloading. Reproducible: Always Steps to Reproduce: 1. Create update.xml, mark update type as "minor", and put it on update server. 2. Set preferences as described on http://developer.mozilla.org/en/docs/XULRunner:Application_Update, change app.update.url to your update server and app.update.interval to 10 seconds. 3. Run application and wait. Actual Results: Update is marked as downloading, but .mar file is not even created, connection is broren with tcp rst flag (sniffed with tcpdump and wireshark). Expected Results: Xulrunner should download file and inform about available update. I've done some research, and I find out solution. Problem seems to be in nsUpdateService.js file. When DOWNLOAD_BACKGROUND_INTERVAL is set to 600 (default), or even 1, download won't start. But when i set it to 0, xulrunner downloaded file normally and informed me about available update.
9 years ago