-
-
Notifications
You must be signed in to change notification settings - Fork 308
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update faye-websocket and websocket-driver to fix security issue
Fix #275
- Loading branch information
1 parent
a0f6afb
commit 0efb3c9
Showing
5 changed files
with
76 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
node_modules | ||
lib/*.js | ||
*~ | ||
package-lock.json | ||
sockjs-protocol |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ Makefile | |
src | ||
examples | ||
tests | ||
scripts | ||
*~ |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
rm -rf sockjs-protocol | ||
git clone --depth=1 https://github.com/sockjs/sockjs-protocol.git | ||
cd sockjs-protocol | ||
make test_deps pycco_deps | ||
cd .. | ||
node tests/test_server/server.js & | ||
SRVPID=$! | ||
sleep 1 | ||
|
||
set +e | ||
|
||
cd sockjs-protocol | ||
./venv/bin/python sockjs-protocol.py | ||
PASSED=$? | ||
kill $SRVPID | ||
exit $PASSED |