Andy Green
9bed6d6fc6
clean: general whitespace cleanup
2018-11-23 08:47:56 +08:00
Rosen Penev
c5d6255487
tls: Fix compile without deprecated OpenSSL APIs
...
These headers are included implicitly with others when deprecated APIs are enabled.
2018-11-09 08:33:04 +08:00
Andy Green
175f2a2d18
tls pending: convert to lws_dll_lws
...
Also add a check for pending after accept, in case pending was aggregated.
2018-11-05 14:43:50 +08:00
Dmytro Ivanov
ff2b1eab36
tls:Implement client_ssl_ca_mem/client_ssl_ca_mem_len to load root CA certs from memory.
2018-07-17 18:25:53 +08:00
Andy Green
de064fd65a
refactor: core code in lib/core and private-libwebsockets.h to core/private.h
...
This commit is coverity-clean as tested
cmake .. -DLWS_WITH_MINIMAL_EXAMPLES=1 -DLWS_WITHOUT_EXTENSIONS=1 -DLWS_WITH_ACME=1 -DLWS_WITH_LWSWS=1 -DLWS_WITH_LIBUV=1 -DLWS_WITH_HTTP2=1 -DLWS_WITHOUT_CLIENT=0 -DLWS_WITHOUT_SERVER=0 -DLWS_UNIX_SOCK=1 -DLWS_WITH_TLS=0 -DLWS_WITH_MBEDTLS=0 -DLWS_WITH_CGI=1 -DCMAKE_BUILD_TYPE=DEBUG -DLWS_WITH_GENERIC_SESSIONS=1 -DLWS_WITH_RANGES=1 -DLWS_ROLE_WS=1 -DLWS_MAX_SMP=16 -DLWS_ROLE_H1=1 -DLWS_WITH_WOLFSSL=0 -DLWS_WITH_LIBEV=0 -DLWS_WITH_LIBEVENT=1
2018-05-03 10:49:36 +08:00
Andy Green
a01ad0dd20
hrtimer: add support for libevent and libev
2018-05-02 19:27:33 +08:00
Andy Green
bce8cca042
refactor: also migrate tls to the ops struct and private.h pattern
...
Several new ops are planned for tls... so better to bite the bullet and
clean it out to the same level as roles + event-libs first.
Also adds a new travis target "mbedtls" and all the tests except
autobahn against mbedtls build.
2018-05-02 12:10:36 +08:00
kaleb-himes
65b68bdc70
wolfSSL updates
2018-04-28 07:55:27 +08:00
Andy Green
7ff8f023d1
context info struct: make lws usage all const
2018-04-27 08:37:20 +08:00
Andy Green
3f683351b3
refactor: split out private role header content
...
Private header stuff specific to roles should go in the
role dir and only be included if the role is enabled for
build.
Only definitions related to lws core should go in the actual
private-libwebsockets.h
2018-04-20 07:13:05 +08:00