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 6710279e21 client: use block parse and buflist
With http, the protocol doesn't indicate where the headers end and the
next transaction or body begin.  Until now, we handled that for client
header response parsing by reading from the tls buffer bytewise.

This modernizes the code to read in up to 256-byte chunks and parse
the chunks in one hit (the parse API is already set up for doing this
elsewhere).

Now we have a generic input buflist, adapt the parser loop to go through
that and arrange that any leftovers are placed on there.
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 fixes: various small fixes 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 client: use block parse and buflist 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 detailed latency stats 2019-09-22 03:06:59 -07:00
wsi-timeout.c client: improve redirect 2019-09-22 03:07:57 -07:00
wsi.c buflist: add static reason logging to internal aware apis 2019-09-22 03:08:36 -07:00