Optionally allow non-SSL connections on same port as SSL
authorJames Devine <fxmulder@gmail.com>
Sat, 14 Dec 2013 03:41:29 +0000 (11:41 +0800)
committerAndy Green <andy.green@linaro.org>
Sat, 14 Dec 2013 03:41:29 +0000 (11:41 +0800)
commit5b34c975aee5a15e382bdfbd3d5110e4101a0879
tree965ee45accb86ef5b239b0ed06adde4be343e819
parent4ebedc2c30b9fd9f045902b3c85d51bde3a3f0fc
Optionally allow non-SSL connections on same port as SSL

If enabled one listening socket will accept both SSL and plain HTTP connections.

Do not enable if you regard SSL handshake as some kind of security, eg, use
client-side certs to restrict access.

AG: changed flag names, added extra comments, changelog, add -a in test server

Signed-off-by: James Devine <fxmulder@gmail.com>
Signed-off-by: Andy Green <andy@warmcat.com>
changelog
lib/libwebsockets.c
lib/libwebsockets.h
lib/private-libwebsockets.h
lib/server.c
test-server/test-server.c