This repository has been archived by the owner on Jun 2, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- WebSocket-TCP Proxy does not handle subprotocol and locale. => use WebSocket Proxy instead. - type section is renamed into base64 section - rename some file names and functions. s/base64/mod_websocket_base64/, s/sha1/mod_websocket_sha1/, s/connector/socket/ etc. - use googletest => not tested all yet. - move config_parser functions into supplement. next, implement tests - handshake, frame, socket mod_websocket.c will be tested with jstest-driver.
- Loading branch information
Showing
39 changed files
with
1,144 additions
and
3,315 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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[submodule "contrib/lighttpd1.4"] | ||
path = contrib/lighttpd1.4 | ||
url = https://github.com/lighttpd/lighttpd1.4.git | ||
ignore = untracked |
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 |
---|---|---|
@@ -1,18 +1,7 @@ | ||
#!/bin/sh | ||
# $Id$ | ||
|
||
HOST_OS=`uname -s` | ||
if test "x${HOST_OS}" = "xDarwin"; then | ||
LIBTOOLIZE=glibtoolize | ||
else | ||
LIBTOOLIZE=libtoolize | ||
fi | ||
set -x | ||
${LIBTOOLIZE} --force --copy | ||
aclocal -I m4 | ||
autoheader | ||
rm -f m4/config.guess # XXX | ||
automake --foreign --add-missing --copy | ||
autoconf | ||
|
||
# EOF | ||
set -e | ||
git submodule sync | ||
git submodule update --init | ||
unzip -n contrib/gtest-1.7.0.zip -d contrib/ | ||
autoreconf --force --install --verbose |
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
Binary file not shown.
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,17 @@ | ||
## $Id$ | ||
noinst_LTLIBRARIES = libmod_websocket.la | ||
|
||
BUILT_SOURCES = parser.h | ||
AM_YFLAGS = -d | ||
AM_LFLAGS = -i | ||
|
||
if WITH_TEST | ||
TESTS_DIR = tests | ||
endif | ||
|
||
if WITH_SAMPLE | ||
SAMPLES_DIR = samples | ||
endif | ||
|
||
SUBDIRS = \ | ||
. $(TESTS_DIR) $(SAMPLES_DIR) | ||
|
||
INCLUDES = \ | ||
-I${top_srcdir}/stub | ||
|
||
noinst_LTLIBRARIES = libwebsocket.la | ||
|
||
if WITH_LIBICU | ||
libwebsocket_la_SOURCES = \ | ||
scanner.l \ | ||
parser.y \ | ||
base64.h \ | ||
base64.c \ | ||
sha1.h \ | ||
sha1.c \ | ||
mod_websocket.h \ | ||
mod_websocket_conv.c \ | ||
mod_websocket_connector.c \ | ||
mod_websocket_handshake.c \ | ||
mod_websocket_frame.c | ||
libwebsocket_la_CFLAGS = $(MODULE_CFLAGS) | ||
else | ||
libwebsocket_la_SOURCES = \ | ||
scanner.l \ | ||
parser.y \ | ||
base64.h \ | ||
base64.c \ | ||
sha1.h \ | ||
sha1.c \ | ||
libmod_websocket_la_SOURCES = \ | ||
mod_websocket_base64.h \ | ||
mod_websocket_base64.c \ | ||
mod_websocket_sha1.h \ | ||
mod_websocket_sha1.c \ | ||
mod_websocket.h \ | ||
mod_websocket_connector.c \ | ||
mod_websocket_socket.h \ | ||
mod_websocket_socket.c \ | ||
mod_websocket_handshake.c \ | ||
mod_websocket_frame.c | ||
libwebsocket_la_CFLAGS = $(MODULE_CFLAGS) | ||
endif | ||
|
||
include $(top_srcdir)/m4/Makefile.rules | ||
libmod_websocket_la_CFLAGS = -I$(top_srcdir)/stub $(MODULE_CFLAGS) | ||
|
||
## EOF | ||
clean-local: | ||
${RM} -f *~ |
Oops, something went wrong.