1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-23 00:00:06 +01:00
libwebsockets/lib/core-net
Andy Green ba754c4cb2 h2: unify immortal stream tracking across SSE and ws substreams
It was already correct but add helpers to isolate and deduplicate
processing adding and closing a generically immortal stream.

Change the default 31s h2 network connection timeout to be settable
by .keepalive_timeout if nonzero.

Add a public api allowing a client h2 stream to transition to
half-closed LOCAL (by sending a 0-byte DATA with END_STREAM) and
mark itself as immortal to create a read-only long-poll stream
if the server allows it.

Add a vhost server option flag LWS_SERVER_OPTION_VH_H2_HALF_CLOSED_LONG_POLL
which allows the vhost to treat half-closed remotes as immortal long
poll streams.
2019-09-22 03:08:36 -07:00
..
adopt.c asynchronous dns for ipv4 and ipv6 2019-09-19 06:54:53 +01:00
client.c client: make external http proxying optional 2019-08-26 09:58:57 +01:00
close.c h2: unify immortal stream tracking across SSE and ws substreams 2019-09-22 03:08:36 -07:00
connect.c detailed latency stats 2019-09-22 03:06:59 -07:00
detailed-latency.c detailed latency stats 2019-09-22 03:06:59 -07:00
dummy-callback.c fixes: various small fixes 2019-09-22 03:08:36 -07:00
lws-dsh.c Coverity fixes 2019-08-19 10:12:20 +01:00
network.c detailed latency stats 2019-09-22 03:06:59 -07:00
output.c detailed latency stats 2019-09-22 03:06:59 -07:00
pollfd.c detailed latency stats 2019-09-22 03:06:59 -07:00
private-lib-core-net.h h2: unify immortal stream tracking across SSE and ws substreams 2019-09-22 03:08:36 -07:00
sequencer.c private.h: rename to contain dir 2019-08-15 10:49:52 +01:00
server.c fixes: various small fixes 2019-09-22 03:08:36 -07:00
service.c client: use block parse and buflist 2019-09-22 03:08:36 -07:00
sorted-usec-list.c sul_compare: prevent integer overflow bug 2019-09-06 15:30:51 +01:00
stats.c private.h: rename to contain dir 2019-08-15 10:49:52 +01:00
vhost.c context-vhost options: move to uint64_t 2019-09-22 03:08:36 -07:00
wsi-timeout.c h2: unify immortal stream tracking across SSE and ws substreams 2019-09-22 03:08:36 -07:00
wsi.c h2: unify immortal stream tracking across SSE and ws substreams 2019-09-22 03:08:36 -07:00