From c409897f508eedff8ecc6f0860c9379fcc11bf23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 12 Mar 2015 19:22:19 +0100 Subject: Add initial Websocket support All autobahntestsuite tests pass including the permessage-deflate compression tests. Some of the tests pass in a non-strict fashion. They are testing for protocol errors and expect events to happen in a particular order, which is not respected by Gun. Gun fails earlier than is expected due to concurrent processing of frames. The implementation when error occurs during handshake is probably a bit rough at this point. The documentation is also incomplete and/or wrong at this time, though this is the general state of the Gun documentation and will be resolved in a separate commit. --- Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9d8a30f..ef34191 100644 --- a/Makefile +++ b/Makefile @@ -4,14 +4,18 @@ PROJECT = gun # Options. -CT_SUITES = twitter +CT_SUITES = twitter ws +CT_OPTS += -pa test -ct_hooks gun_ct_hook [] -boot start_sasl + PLT_APPS = ssl # Dependencies. DEPS = cowlib ranch -dep_cowlib = pkg://cowlib master -dep_ranch = pkg://ranch master +dep_cowlib = git https://github.com/ninenines/cowlib 1.3.0 + +TEST_DEPS = ct_helper +dep_ct_helper = git https://github.com/extend/ct_helper.git master # Standard targets. -- cgit v1.2.3