- 27 Aug, 2010 1 commit
-
-
Joel Martin authored
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.
-
- 12 Aug, 2010 1 commit
-
-
Joel Martin authored
- This allows the recorded data to be immediately usable by tests/vnc_playback.html
-
- 06 Aug, 2010 1 commit
-
-
Joel Martin authored
Turns out when Windows is running in QEMU and a window scroll happens, there are lots of little hextile rects sent. This is slow in noVNC. - Some recording/playback improvement. - Add test harness to drive playback of recordings. - By pulling off the rect header in one chunk we get a 3X speedup in Chrome and a 20% speedup in firefox (specifically for the scroll test). - Also, get rid of some noise from creating timers for handle_message. Check to make sure there isn't already a pending timer first.
-
- 04 Aug, 2010 3 commits
-
-
Joel Martin authored
-
Joel Martin authored
- Fallback to md5 module if hashlib not there. - Import parse_qsl from cgi where it is in both 2.4 and 2.6
-
Joel Martin authored
- Replace URL parsing using "".partition() with urlparse module.
-
- 03 Aug, 2010 1 commit
-
-
Joel Martin authored
- When a packet with only '\xff\x00' is received, this means the client is doing an orderly shutdown. (WebSockets spec version 76)
-
- 17 Jul, 2010 2 commits
-
-
Joel Martin authored
Interestingly, the bug depends on compiler behavior. If local variables are automatically initialized to 0, then this always caused the program to error out indicating a failure to parse the listen port. Otherwise, the test was a no-op (except the rare case where the memory happened to be zero anyways). Thanks to Eugen Melnikoff for finding this.
-
Joel Martin authored
The listen port should be opened before daemonizing otherwise if opening the port fails, the user will get no feedback. The only complication was that the listen socket needs to not be closed as part of daemonizing. Thanks to http://github.com/rickr for finding it.
-
- 16 Jul, 2010 1 commit
-
-
Joel Martin authored
-
- 01 Jul, 2010 2 commits
-
-
Joel Martin authored
-
Joel Martin authored
Pull in LGPL md5.c and md5.h files (written by Ulrich Drepper). Now both python and C version of the proxy support both protocol 75 and protocol 76 (hybi 00). Reorganize websocket.py slightly to match websocket.c.
-
- 24 Jun, 2010 2 commits
-
-
Joel Martin authored
-
Joel Martin authored
Looks like disabling web-socket-js debug messages by default that we get a minor speedup. Python proxy should support both 75 and 76 (00) modes. Also, update ws test to more reliably hit the WebSockets ordering/drop issue.
-
- 17 Jun, 2010 4 commits
-
-
Joel Martin authored
-
Joel Martin authored
-
Joel Martin authored
-
Joel Martin authored
Refactor how settings are passed around.
-
- 16 Jun, 2010 3 commits
-
-
Joel Martin authored
-
Joel Martin authored
Use getaddrinfo instead of gethostbyname.
-
Joel Martin authored
This allows forwarding from an external port to the same port on localhost (loopback). I.e. ./utils/wsproxy `hostname -f`:5901 localhost:5901
-
- 07 Jun, 2010 3 commits
-
-
Joel Martin authored
-
Joel Martin authored
-
Joel Martin authored
-