autobahn add same serverside rxflow cache to client
authorAndy Green <andy.green@linaro.org>
Mon, 28 Dec 2015 06:24:49 +0000 (14:24 +0800)
committerAndy Green <andy.green@linaro.org>
Mon, 28 Dec 2015 13:47:46 +0000 (21:47 +0800)
commit44e0b088fa9b3854a39eb7ee02c09e89b49541ae
treede25b4fb83afa3e75f27d51db617ecd42d615dcd
parentf05167dee6fa077a5d9ce5a47671dcfd9da86d09
autobahn add same serverside rxflow cache to client

Server side has had immediate RX flow control for quite a while.

But client side made do with RX continuing until what had been received was exhausted.

For what Autobahn tests, that's not enough.

This patch gives clientside RX flow control the same immediate effect as the server
side enjoys, re-using the same code.

Signed-off-by: Andy Green <andy.green@linaro.org>
lib/client.c
lib/handshake.c
lib/libwebsockets.c
lib/output.c
lib/private-libwebsockets.h
lib/server.c
lib/service.c