lwsws remove all protocols use lws default http
authorAndy Green <andy@warmcat.com>
Tue, 10 May 2016 02:16:52 +0000 (10:16 +0800)
committerAndy Green <andy@warmcat.com>
Tue, 10 May 2016 03:28:30 +0000 (11:28 +0800)
commit0a4da2c71fbf0b51f22042da61f2f13b83bcd604
treee27aab843c93084d0ce69641b7a0f0048a620ffa
parent677d6c15161a689d15f5ddaea64c18c7c451125d
lwsws remove all protocols use lws default http

Actually lwsws doesn't need his own protocol handler even for http
any more.  The default http handler in lws should do everything.

Move the cgi routing into lws default http protocol handler, and
delete lwsws one.  Remove all protocols from lwsws so the lws
default one gets used.

With this, and the earlier move of lejp into lws, lwsws itself
becomes 15.5KB of x86_64 (mainly conf parsing).

Signed-off-by: Andy Green <andy@warmcat.com>
CMakeLists.txt
lib/context.c
lib/libwebsockets.c
lib/private-libwebsockets.h
lwsws/http.c [deleted file]
lwsws/lwsws.h
lwsws/main.c