Commit f3facf7f authored by jgould's avatar jgould

disable range requests

parent 53f7c95b
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -10,12 +10,7 @@ morpheus.GctReader.prototype = { ...@@ -10,12 +10,7 @@ morpheus.GctReader.prototype = {
if (fileOrUrl instanceof File) { if (fileOrUrl instanceof File) {
this._readChunking(fileOrUrl, callback, false); this._readChunking(fileOrUrl, callback, false);
} else { } else {
try { this._readNoChunking(fileOrUrl, callback);
this._readChunking(fileOrUrl, callback, true);
} catch (x) {
this._readNoChunking(fileOrUrl, callback, false);
}
} }
}, },
_readChunking: function (fileOrUrl, callback, tryNoChunkIfError) { _readChunking: function (fileOrUrl, callback, tryNoChunkIfError) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment