commit | 68a672bb4468e98c339987404c32f39a6b86e5fb | [log] [tgz] |
---|---|---|
author | Andy Green <andy.green@linaro.org> | Wed Feb 06 20:23:40 2013 +0900 |
committer | Andy Green <andy.green@linaro.org> | Thu Feb 07 20:30:56 2013 +0800 |
tree | e9e1346c1fd2bc35dab923d03863f3142260888f | |
parent | a2b3a36e44f0d60cf2a52c9ecc16e14369e3ce26 [diff] |
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>