Andy Green
502130d999
refactor: split out adoption and client apis to core
...
- split raw role into separate skt and file
- remove all special knowledge from the adoption
apis and migrate to core
- remove all special knowledge from client_connect
stuff, and have it discovered by iterating the
role callbacks to let those choose how to bind;
migrate to core
- retire the old deprecated client apis pre-
client_connect_info
2018-05-11 10:29:08 +08:00
Andy Green
c4dc102a0b
windows: cleanup wrong and duplicated socket validity helpers
...
https://github.com/warmcat/libwebsockets/issues/1259
2018-05-06 07:22:25 +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
f497562a62
refactor: change event lib minimal examples to serve as the test apps
2018-04-30 19:17:32 +08:00
Andy Green
0b52d92d12
refactor: remove more test apps and replace with minimal-examples
2018-04-30 09:16:04 +08:00
Andy Green
d37b383edc
refactor: apply ops structs to event loop handlers
2018-04-29 10:44:36 +08:00
Andy Green
8d213f8295
refactor: isolate event_loop struct content same way as roles
2018-04-29 08:34:19 +08:00