-
- Downloads
unionize header token array
This reduces the size of struct libwebscocket from 4840 to 4552
on x86_64
There are also big benefits on malloc pool fragmentation and
allocation, the header allocations only exist between the first
peer communication and websocket connection establishment for
both server and client.
Signed-off-by:
Andy Green <andy.green@linaro.org>
Showing
- lib/client-handshake.c 2 additions, 2 deletionslib/client-handshake.c
- lib/client.c 31 additions, 31 deletionslib/client.c
- lib/handshake.c 11 additions, 11 deletionslib/handshake.c
- lib/parsers.c 30 additions, 30 deletionslib/parsers.c
- lib/private-libwebsockets.h 1 addition, 2 deletionslib/private-libwebsockets.h
- lib/server-handshake.c 18 additions, 18 deletionslib/server-handshake.c
- lib/server.c 2 additions, 2 deletionslib/server.c
Loading
Please sign in to comment