kripken/emscripten — pull request #669 by kanaka (2012-10-31 21:55:14+00:00)
Title: Update websockify, fix websocket tests, refactor websocket harness.

- pull in websockify c00c0eed from
https://github.com/kanaka/websockify with one-shot socket listener
cleanup and other misc updates.
- import the WebSocketProxy class directly and launch it one-shot
using the run_once parameter rather than spawning a separate
websockify via shell.
- create a python version of socket_server.sh and in the harness and
remove socket_server.sh.
- refactor clean_pids to use a two phase cleanup where it sends
a SIGTERM (to give the parent the chance to cleanup children) and
then send a SIGTERM 1 second later. This still has risk of leaving
child processes around (for example, the nc process in the original
socket_server.sh which would also hold onto the listen port).

Conflicts:

tests/runner.py