We use Jetty to deliver some js, css and html files, together with a jersey-powered REST API. I have a user running windows 7 32bit, German locale, that is encountering a very strange problem.
One of the js files is very large, about 14 000 LOC. When that file lands in the browser, somewhere along the way, it’s been mangled. Specifically, 3981 lines of code has been moved from the middle of the file (at character no 370841, which is at line 9158), to the top of the file. This of course renders the file completely useless.
I have been unable to replicate this in other windows 7 32bit German installs, and I am running out of ideas as to what could be the cause of this.
I’m imagining that perhaps this is some limitation in file sizes that I am somehow hitting, but I’m not knowledgeable enough in Windows configurations to say where I should dig for more info.
Any ideas?
It turns out the problem was a firewall (ZoneAlarm) on the failing windows machines. I guess there is a limit to the size of HTTP packets it can handle or something.. Disabling ZoneAlarm solved the problem.
I’m gonna file a bug report with them.