libwebsockets/lib
Andy Green 46b04f4ba4 wrapper: make SSL_accept nonblocking
The mbedTLS / OpenSSL wrapper spins for the duration of the
handshake, which is a slow 31ms on my x86_64 box (by comparison
it's ~1ms on actual OpenSSL on the same box).

This doesn't change the 31ms but it stops us spinning during the
accept and has us retry on POLLIN instead like OpenSSL.

Note this also fixes the endemic mismatches in returncode
between mbedTLS and OpenSSL semantics...
2017-10-16 17:13:49 +08:00
..
mbedtls_wrapper wrapper: make SSL_accept nonblocking 2017-10-16 17:13:49 +08:00
.gitignore Ignoring linux build files 2013-01-09 15:46:11 +08:00
alloc.c heap instrumentation 2017-10-16 17:13:49 +08:00
base64-decode.c base64 decode fix lengths 2016-08-10 21:20:23 +08:00
client-handshake.c heap instrumentation 2017-10-16 17:13:49 +08:00
client-parser.c clean 2017-09-27 08:24:05 +08:00
client.c heap instrumentation 2017-10-16 17:13:49 +08:00
context.c ah pool: change to dynamic linked list 2017-10-16 17:13:49 +08:00
daemonize.c context deprecation 2016-12-20 14:37:07 +08:00
extension-permessage-deflate.c heap instrumentation 2017-10-16 17:13:49 +08:00
extension-permessage-deflate.h extension permessage deflate 2016-01-11 11:34:01 +08:00
extension.c pmd: autobahn fixes 2017-07-28 13:12:03 +08:00
fops-zip.c heap instrumentation 2017-10-16 17:13:49 +08:00
getifaddrs.c heap instrumentation 2017-10-16 17:13:49 +08:00
getifaddrs.h esp8266 initial support 2016-08-10 21:20:23 +08:00
handshake.c CMake: convert all LWS_USE_... to LWS_WITH_... 2017-10-16 17:13:48 +08:00
header.c add 100 Continue 2017-10-16 17:13:49 +08:00
hpack.c ah pool: change to dynamic linked list 2017-10-16 17:13:49 +08:00
http2.c lws_intptr_t 2017-07-07 08:32:04 +08:00
huftable.h http2 hpack basic decode ok including huff 2014-10-12 08:38:16 +08:00
lejp-conf.c CMake: convert all LWS_USE_... to LWS_WITH_... 2017-10-16 17:13:48 +08:00
lejp.c documentation convert to doxygen 2016-07-14 08:57:27 +08:00
lejp.h documentation convert to doxygen 2016-07-14 08:57:27 +08:00
lextable-strings.h raw: adoption and processing 2017-02-21 07:47:35 +08:00
lextable.h raw: adoption and processing 2017-02-21 07:47:35 +08:00
libev.c clean 2017-09-27 08:24:05 +08:00
libevent.c clean 2017-09-27 08:24:05 +08:00
libuv.c heap instrumentation 2017-10-16 17:13:49 +08:00
libwebsockets.c wrapper: make SSL_accept nonblocking 2017-10-16 17:13:49 +08:00
libwebsockets.h wrapper: make SSL_accept nonblocking 2017-10-16 17:13:49 +08:00
lws-genhash.c CMake: convert all LWS_USE_... to LWS_WITH_... 2017-10-16 17:13:48 +08:00
lws-plat-esp32.c heap instrumentation 2017-10-16 17:13:49 +08:00
lws-plat-esp8266.c heap instrumentation 2017-10-16 17:13:49 +08:00
lws-plat-optee.c heap instrumentation 2017-10-16 17:13:49 +08:00
lws-plat-unix.c heap instrumentation 2017-10-16 17:13:49 +08:00
lws-plat-win.c heap instrumentation 2017-10-16 17:13:49 +08:00
minihuf.c whitespace trailing mass cleanout 2015-12-14 08:52:03 +08:00
minilex.c whitespace trailing mass cleanout 2015-12-14 08:52:03 +08:00
output.c heap instrumentation 2017-10-16 17:13:49 +08:00
parsers.c ah pool: change to dynamic linked list 2017-10-16 17:13:49 +08:00
pollfd.c CMake: convert all LWS_USE_... to LWS_WITH_... 2017-10-16 17:13:48 +08:00
private-libwebsockets.h ah pool: change to dynamic linked list 2017-10-16 17:13:49 +08:00
ranges.c clean 2017-09-27 08:24:05 +08:00
rewrite.c heap instrumentation 2017-10-16 17:13:49 +08:00
romfs.c esp32: ROMFS use checksum as mtime so ETAG caching works 2017-04-05 10:44:28 +08:00
romfs.h esp32: ROMFS use checksum as mtime so ETAG caching works 2017-04-05 10:44:28 +08:00
server-handshake.c LWS_CALLBACK_ADD_HEADERS: also on upgrade headers 2017-09-27 08:24:04 +08:00
server.c heap instrumentation 2017-10-16 17:13:49 +08:00
service.c ah pool: change to dynamic linked list 2017-10-16 17:13:49 +08:00
sha-1.c polarssl implementation 2016-04-18 20:05:43 +08:00
smtp.c heap instrumentation 2017-10-16 17:13:49 +08:00
ssl-client.c CMake: convert all LWS_USE_... to LWS_WITH_... 2017-10-16 17:13:48 +08:00
ssl-http2.c ah pool: change to dynamic linked list 2017-10-16 17:13:49 +08:00
ssl-server.c ah pool: change to dynamic linked list 2017-10-16 17:13:49 +08:00
ssl.c wrapper: make SSL_accept nonblocking 2017-10-16 17:13:49 +08:00