1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 10:08:06 +02:00

Leave initial request open until the viewer is ready to switch to range requests.

This commit is contained in:
Brendan Dahl 2013-11-18 11:17:26 -08:00
parent 945e370d4f
commit 0385131a9a
5 changed files with 57 additions and 24 deletions

View file

@ -139,7 +139,8 @@ var NetworkPdfManager = (function NetworkPdfManagerClosure() {
msgHandler: msgHandler,
httpHeaders: args.httpHeaders,
chunkedViewerLoading: args.chunkedViewerLoading,
disableAutoFetch: args.disableAutoFetch
disableAutoFetch: args.disableAutoFetch,
initialData: args.initialData
};
this.streamManager = new ChunkedStreamManager(args.length, CHUNK_SIZE,
args.url, params);