1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-23 00:00:06 +01:00
libwebsockets/lib
Andy Green 1d2094996e refactor: absorb other caches into buflist
1) Remove the whole ah rxbuf and put things on to the wsi buflist

This eliminates the whole detachability thing based on ah rxbuf
state... ah can always be detached.

2) Remove h2 scratch and put it on the wsi buflist

3) Remove preamble_rx and use the wsi buflist

This was used in the case adopted sockets had already been read.


Basically there are now only three forced service scenarios

 - something in buflist (and not in state LRS_DEFERRING_ACTION)

 - tls layer has buffered rx

 - extension has buffered rx

This is a net removal of around 400 lines of special-casing.
2018-04-20 07:13:05 +08:00
..
event-libs selftests 2018-04-19 16:16:48 +08:00
jws lws_snprintf 2018-03-12 09:28:42 +08:00
misc refactor role ops 2018-04-11 13:39:42 +08:00
plat tcp keepalive: user TCP_USER_TIMEOUT on linux if extant 2018-04-19 16:16:48 +08:00
roles refactor: absorb other caches into buflist 2018-04-20 07:13:05 +08:00
tls selftests 2018-04-19 16:16:48 +08:00
alloc.c acme: adaptations through plat for esp32 2017-12-11 13:30:12 +08:00
context.c refactor: absorb other caches into buflist 2018-04-20 07:13:05 +08:00
libwebsockets.c refactor: absorb other caches into buflist 2018-04-20 07:13:05 +08:00
libwebsockets.h refactor: absorb other caches into buflist 2018-04-20 07:13:05 +08:00
output.c refactor: absorb other caches into buflist 2018-04-20 07:13:05 +08:00
pollfd.c lws_buflist 2018-04-19 16:15:10 +08:00
private-libwebsockets.h refactor: absorb other caches into buflist 2018-04-20 07:13:05 +08:00
service.c refactor: absorb other caches into buflist 2018-04-20 07:13:05 +08:00