diff options
author | Solly Ross <sross@redhat.com> | 2015-09-22 16:19:52 -0400 |
---|---|---|
committer | Solly Ross <sross@redhat.com> | 2015-09-23 09:53:00 -0400 |
commit | c802d9318930ab703d2a359dcf10fb5928f9029e (patch) | |
tree | c2438d8d161b9d82b6d5a35311a174727457de34 /docs/notes | |
parent | 40b35fa20d459c731a5de826f4bd17634101a1db (diff) | |
download | novnc-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/notes | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |