libwebsockets/lib
Andy Green 01b206e804 SOL_SNDBUF set to protocol rx size
This tells the OS to reserve a TX buffer at least the size of the biggest RX frame
expected, for both server and client connections.

In Linux, the OS reserves 2 x the requested amount.

This is aimed at reducing the partial large atomic frame send problem to the point
it's only coming at large atomic frames the OS balks at reserving the size for.

If you have a lot of data to send, it is better to split it into multiple writes,
and use the FIN / CONTINUATION websocket stuff to manage it.

See the "fraggle" test app for example code of how to do that.

Signed-off-by: Andy Green <andy.green@linaro.org>
2013-03-23 09:53:17 +08:00
..
.gitignore Ignoring linux build files 2013-01-09 15:46:11 +08:00
base64-decode.c CMake support + fixed windows build. 2013-02-06 15:49:12 +09:00
client-handshake.c replaced last remaining close on wsi->sock with compatible_close 2013-03-15 07:26:19 +08:00
client-parser.c reflect send completeness in lws_write return 2013-02-23 10:50:10 +08:00
client.c SOL_SNDBUF set to protocol rx size 2013-03-23 09:53:17 +08:00
daemonize.c style cleanup 2013-02-11 17:13:32 +08:00
extension-deflate-frame.c style cleanup 2013-02-11 17:13:32 +08:00
extension-deflate-frame.h Separate compression levels for server and client, 2013-01-10 12:45:54 +08:00
extension-deflate-stream.c style cleanup 2013-02-11 17:13:32 +08:00
extension-deflate-stream.h remove fixed rx buffer allow definition per protocol 2013-02-08 13:16:07 +08:00
extension.c Fixed DLL compilation on Windows for CMake. 2013-02-13 09:29:26 +08:00
getifaddrs.c style cleanup 2013-02-11 17:13:32 +08:00
getifaddrs.h style cleanup 2013-02-11 17:13:32 +08:00
handshake.c SOL_SNDBUF set to protocol rx size 2013-03-23 09:53:17 +08:00
libwebsockets.c cosmetic debug improvements 2013-03-23 09:44:47 +08:00
libwebsockets.h introduce api for unthrottle all connections of protocol 2013-03-16 12:43:22 +08:00
minilex.c add lexical parser for headers 2013-01-18 01:55:48 +08:00
output.c Fix printf format error 2013-03-09 09:27:49 +08:00
parsers.c cosmetic debug improvements 2013-03-23 09:44:47 +08:00
private-libwebsockets.h rxflow remove recursion and simplify 2013-03-16 11:24:23 +08:00
server-handshake.c reflect send completeness in lws_write return 2013-02-23 10:50:10 +08:00
server.c Print SSL error codes as well as the string. 2013-02-22 09:28:15 +08:00
sha-1.c Static variable is now const. 2013-01-09 15:14:31 +08:00