1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/lib
Andy Green 6bc92f7592 wrapper: untrash partial sends before WANT
1) The original wrapper logic for accounting for partial
sends on mbedtls is broken... adapt it

2) mbedtls has an additional restriction you MUST come
back to retry with EXACTLY the unsent part that you
originally asked for, or it loses coherency in the TLS
tunnel.

3) the wrapper is inconsistent between read WANT state
dynamically reported from mbedtls apis and the
SSL_want() api results.  Check both on read.
2017-11-10 10:59:58 +08:00
..
client build: enable signed vs unsigned warnings on gcc 2017-10-25 07:17:29 +08:00
event-libs build: enable signed vs unsigned warnings on gcc 2017-10-25 07:17:29 +08:00
ext build: enable signed vs unsigned warnings on gcc 2017-10-25 07:17:29 +08:00
http2 hpack: dont reinterpret lws index for idx hdr 6 inc 2017-11-10 10:59:58 +08:00
misc lws_ring: add lws_ring_dump() api 2017-11-05 07:08:20 +08:00
plat service: stop trying to find service TID after first time 2017-11-05 07:08:29 +08:00
server coverity-fixes 2017-11-10 10:59:58 +08:00
tls wrapper: untrash partial sends before WANT 2017-11-10 10:59:58 +08:00
alloc.c http2: make usable 2017-10-16 17:13:49 +08:00
context.c protocol init: allow use of client apis during per-vhost protocol init 2017-10-24 20:19:24 +08:00
handshake.c http2: make usable 2017-10-16 17:13:49 +08:00
header.c http2: make usable 2017-10-16 17:13:49 +08:00
lextable-strings.h http2: make usable 2017-10-16 17:13:49 +08:00
lextable.h http2: make usable 2017-10-16 17:13:49 +08:00
libwebsockets.c WITH_STATS: fix signed build warnings 2017-11-05 07:07:16 +08:00
libwebsockets.h lws_ring: add lws_ring_dump() api 2017-11-05 07:08:20 +08:00
minilex.c whitespace trailing mass cleanout 2015-12-14 08:52:03 +08:00
output.c h2: never send more than file length 2017-11-10 10:59:58 +08:00
pollfd.c build: enable signed vs unsigned warnings on gcc 2017-10-25 07:17:29 +08:00
private-libwebsockets.h coverity-fixes 2017-11-10 10:59:58 +08:00
service.c service: only apply trunc holds rx rule for http2 2017-11-05 07:08:50 +08:00