1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/lib/server
Andy Green a4148a13ba refactor-eliminate-lws-union
The union used to make a lot of sense to save space between
mutually exclusive modes.  But the fact the http2 struct
contains the http1 struct as well as it appearing in the
union means the http1 struct belongs outside the union.

This patch

 - eliminates the union
 - puts the http_related struct directly in struct lws
 - removes http_related from h2
 - puts h2 directly in struct lws if enabled for build
 - changes ws to be a pointer, allocated if we upgrade to ws
   (the ws part contains a 135 byte char array for ping / close)


Again all of this is entirely private / internal and doesn't affect
any apis.
2017-12-01 11:37:35 +08:00
..
access-log.c refactor-eliminate-lws-union 2017-12-01 11:37:35 +08:00
cgi.c refactor-eliminate-lws-union 2017-12-01 11:37:35 +08:00
daemonize.c daemonize: fix missing lws_malloc reason param 2017-10-18 20:19:46 +08:00
fops-zip.c appveyor: Enable 64-bit build with OpenSSL and HTTP2 2017-11-26 19:16:17 +08:00
lejp-conf.c LWS_SERVER_OPTION_IGNORE_MISSING_CERT 2017-12-01 11:37:35 +08:00
lws-spa.c coverity-fixes 2017-11-10 10:59:58 +08:00
parsers.c refactor-eliminate-lws-union 2017-12-01 11:37:35 +08:00
peer-limits.c build: enable signed vs unsigned warnings on gcc 2017-10-25 07:17:29 +08:00
ranges.c refactor: subdirs for source in lib 2017-10-16 17:28:37 +08:00
rewrite.c refactor: subdirs for source in lib 2017-10-16 17:28:37 +08:00
server-handshake.c cleanups 2017-12-01 11:37:35 +08:00
server.c refactor-eliminate-lws-union 2017-12-01 11:37:35 +08:00
ssl-server.c mbedtls: improve SNI for client certs 2017-12-01 11:37:35 +08:00