-
- Downloads
client convert to new headers scheme eliminating mallocs
This removes all the direct wsi members specific to clients,
most of them are moved to being fake headers in the next 3-layer
header scheme, c_port moves to being a member of the u.hdr
unionized struct.
It gets rid of a lot of fiddly mallocs and frees(), despite it
adds a small internal API to create the fake headers, actually
the patch deletes more than it adds...
Signed-off-by:
Andy Green <andy.green@linaro.org>
Showing
- lib/client-handshake.c 44 additions, 76 deletionslib/client-handshake.c
- lib/client.c 10 additions, 40 deletionslib/client.c
- lib/libwebsockets.c 0 additions, 4 deletionslib/libwebsockets.c
- lib/libwebsockets.h 8 additions, 0 deletionslib/libwebsockets.h
- lib/parsers.c 27 additions, 0 deletionslib/parsers.c
- lib/private-libwebsockets.h 4 additions, 11 deletionslib/private-libwebsockets.h
Loading
Please register or sign in to comment