1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/lib
Andy Green f85cc83de3 http: ETAG hits wrongly seen as serve fails on h2
nonzero return from lws_http_serve() can equally be because we
hit on an ETAG and finished the serve with only the headers.

Split the return so -1 is to assertively close the stream, 1
is we didn't serve anything (eg, not found) and 0 is continuing
asynchronously to serve.
2018-07-16 09:38:12 +08:00
..
core foreach_ll_safe 2018-07-11 15:17:58 +08:00
event-libs cgi: fix for https git server 2018-06-16 09:35:07 +08:00
misc lws_mutex_refcount 2018-06-27 07:15:39 +08:00
plat Fix I/O hang after received a large deflate frame 2018-07-11 15:14:01 +08:00
roles http: ETAG hits wrongly seen as serve fails on h2 2018-07-16 09:38:12 +08:00
tls openssl: Fix compile with 1.1.0 - deprecated APIs 2018-06-30 09:42:44 +08:00
libwebsockets.h Android: Fixing missing sockaddr_in definition. 2018-07-16 09:38:07 +08:00
README.md refactor: core code in lib/core and private-libwebsockets.h to core/private.h 2018-05-03 10:49:36 +08:00

Library sources layout

Code that goes in the libwebsockets library itself lives down ./lib

Path Sources
lib/core Core lws code related to generic fd and wsi servicing and management
lib/event-libs Code containing optional event-lib specific adaptations
lib/misc Code for various mostly optional miscellaneous features
lib/plat Platform-specific adaptation code
lib/roles Code for specific optional wsi roles, eg, http/1, h2, ws, raw, etc
lib/tls Code supporting the various TLS libraries
libwebsockets.h Public API header for the whole of lws