summaryrefslogtreecommitdiff
path: root/docs/notes
diff options
context:
space:
mode:
authorSolly Ross <sross@redhat.com>2015-09-22 16:19:52 -0400
committerSolly Ross <sross@redhat.com>2015-09-23 09:53:00 -0400
commitc802d9318930ab703d2a359dcf10fb5928f9029e (patch)
treec2438d8d161b9d82b6d5a35311a174727457de34 /docs/notes
parent40b35fa20d459c731a5de826f4bd17634101a1db (diff)
downloadnovnc-c802d9318930ab703d2a359dcf10fb5928f9029e.tar.gz
Make sure Pako always has enough roombug/pako-issue
Previously, we used a fixed chunkSize of 100KiB for Pako's output buffer. Using a hardcoded size caused issues, since Pako would assume we wanted to use multiple chunks, and we didn't deal with this. Now, `Inflator#inflate()` takes a new `expected` argument, which indicates the expected output size. If this is bigger than the current chunkSize, Inflator allocates a new output buffer that's big enough to hold the output. Fixes #531
Diffstat (limited to 'docs/notes')
-rw-r--r--docs/notes2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/notes b/docs/notes
index 6ff5ec1..036cd51 100644
--- a/docs/notes
+++ b/docs/notes
@@ -2,4 +2,4 @@ Rebuilding inflator.js
- Download pako from npm
- Install browserify using npm
-- browserify utils/inflator.partial.js -o include/inflator.js
+- browserify utils/inflator.partial.js -o include/inflator.js -s inflator