diff options
| author | Joel Martin <github@martintribe.org> | 2010-08-27 12:10:09 -0500 |
|---|---|---|
| committer | Joel Martin <github@martintribe.org> | 2010-08-27 12:10:09 -0500 |
| commit | 55dee43279f3374fde433fbeffb798fa9e609a32 (patch) | |
| tree | 107230f5a6d012ced6b65221fe48324212f22bdb /docs | |
| parent | e8c1698995571c55119b79efe5390ee08861bf06 (diff) | |
| download | websockify-55dee43279f3374fde433fbeffb798fa9e609a32.tar.gz | |
Remove psuedo-UTF8 encoding.
It's less efficient on average that base64 (150% vs 133%). It's
non-standard (0 shifted to 256 before encoding). And I rarely use it.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/TODO | 3 | ||||
| -rw-r--r-- | docs/proxy_description.txt | 14 |
2 files changed, 1 insertions, 16 deletions
@@ -1,7 +1,6 @@ Short Term: -- Timing delta between frames in proxy record log, for playback - support (for demo and test). +- Add realtime playback of recordings. - Playback/demo on website. diff --git a/docs/proxy_description.txt b/docs/proxy_description.txt index 218078a..83dfb1c 100644 --- a/docs/proxy_description.txt +++ b/docs/proxy_description.txt @@ -32,20 +32,6 @@ the proxy to add sequence numbers to every WebSockets frame so that the browser can reorder them. -UTF-8 encoding: - -In addition to the base64 encoding of the data, the proxy also -supports UTF-8 encoding of the data (the native WebSockets encoding). -However, in order to not burden the browser too much, the encoding -doesn't use the full UTF-8 value space, but only uses the first 256 -values. This actually makes UTF-8 encoding slightly less space -efficient than base64. Also, flash cannot handle byte arrays with 0's -in them properly, so the values are actually 1-256 (rather than 0-255) -and the browser does modulus 256 on the data. For these two reasons, -base64 is the default and is indicated in the GET string by -"base64=1". - - Flash security policy: The proxy detects flash security policy requests (again by sniffing |
