libwebsockets/lib
Andy Green 41434fad53 autobahn report final frag only on final rx bufload
If the final message fragment contains a payload that has to be
handled in multiple RX callbacks, until now we reported the ws
fragment header FIN state in lws_is_final_fragment().

That was correct, but it's kind of not useful to hear that the
intermediate bufferloads are "final".  So now we delay
reporting the logical ws fragment FIN until the final part of
his payload is delivered.

This gets us Autobahn 1.1.6 working.

Signed-off-by: Andy Green <andy.green@linaro.org>
2015-12-28 12:45:52 +08:00
..
.gitignore Ignoring linux build files 2013-01-09 15:46:11 +08:00
alloc.c Subject: [PATCH] Add custom allocator support using the realloc() interface 2014-12-05 07:25:24 +08:00
base64-decode.c mbed3 warning cleaning 2015-11-14 16:31:01 +08:00
client-handshake.c http header malloc pool implement pool 2015-12-25 14:34:20 +08:00
client-parser.c autobahn requires zero length rx allowed 2015-12-28 11:12:05 +08:00
client.c deprecate LWS_SEND_BUFFER_POST_PADDING 2015-12-26 12:03:06 +08:00
context.c http header malloc pool implement pool 2015-12-25 14:34:20 +08:00
daemonize.c clean internal refactor 2015-12-17 17:03:59 +08:00
extension-deflate-frame.c deprecate LWS_SEND_BUFFER_POST_PADDING 2015-12-26 12:03:06 +08:00
extension-deflate-frame.h whitespace trailing mass cleanout 2015-12-14 08:52:03 +08:00
extension-deflate-stream.c whitespace trailing mass cleanout 2015-12-14 08:52:03 +08:00
extension-deflate-stream.h whitespace trailing mass cleanout 2015-12-14 08:52:03 +08:00
extension.c lws_get_context not _ctx 2015-12-17 18:25:25 +08:00
getifaddrs.c whitespace trailing mass cleanout 2015-12-14 08:52:03 +08:00
getifaddrs.h Use LWS_HAVE_ instead of just HAVE_ 2015-10-12 09:53:17 +08:00
handshake.c clean internal refactor 2015-12-17 17:03:59 +08:00
header.c lws_get_context not _ctx 2015-12-17 18:25:25 +08:00
hpack.c http header malloc pool implement pool 2015-12-25 14:34:20 +08:00
http2.c clean internal refactor 2015-12-17 17:03:59 +08:00
huftable.h http2 hpack basic decode ok including huff 2014-10-12 08:38:16 +08:00
lextable-strings.h whitespace trailing mass cleanout 2015-12-14 08:52:03 +08:00
lextable.h Add PATCH, PUT, DELETE methods 2015-01-26 11:25:13 +08:00
libev.c lws_get_context not _ctx 2015-12-17 18:25:25 +08:00
libwebsockets.c autobahn report final frag only on final rx bufload 2015-12-28 12:45:52 +08:00
libwebsockets.h close add api to control sent close frame contents 2015-12-26 17:20:34 +08:00
lws-plat-mbed3.c clean internal refactor 2015-12-17 17:03:59 +08:00
lws-plat-mbed3.cpp lws_get_context not _ctx 2015-12-17 18:25:25 +08:00
lws-plat-unix.c Recognize Debian GNU/kFreeBSD as FreeBSD-ish. 2015-12-25 21:15:21 +08:00
lws-plat-win.c rearrange private struct packing 2 2015-12-26 08:56:58 +08:00
minihuf.c whitespace trailing mass cleanout 2015-12-14 08:52:03 +08:00
minilex.c whitespace trailing mass cleanout 2015-12-14 08:52:03 +08:00
output.c autobahn requires zero length tx allowed 2015-12-28 11:14:04 +08:00
parsers.c close add callback to get peer close reason 2015-12-26 15:47:06 +08:00
pollfd.c detect service tid once and use wsi with valid context to do it 2015-12-24 13:00:54 +08:00
private-libwebsockets.h close add api to control sent close frame contents 2015-12-26 17:20:34 +08:00
server-handshake.c server check cb return during establish 2015-12-18 00:56:31 +08:00
server.c deprecate LWS_SEND_BUFFER_POST_PADDING 2015-12-26 12:03:06 +08:00
service.c close add callback to get peer close reason 2015-12-26 15:47:06 +08:00
sha-1.c clean reduce windows build warnings 2015-12-06 08:00:03 +08:00
ssl-http2.c clean internal refactor 2015-12-17 17:03:59 +08:00
ssl.c lws_get_context not _ctx 2015-12-17 18:25:25 +08:00