autobahn requires zero length tx allowed
authorAndy Green <andy.green@linaro.org>
Mon, 28 Dec 2015 03:14:04 +0000 (11:14 +0800)
committerAndy Green <andy.green@linaro.org>
Mon, 28 Dec 2015 03:14:04 +0000 (11:14 +0800)
commit4c9d89576888e72103cf4aaa4c5ddb65bfe920e7
tree875d53a904329257a72be8731fe44986a2f17820
parent20db310908afe01ec7ca2d32c766bf8edd7b6ded
autobahn requires zero length tx allowed

Again we treat user code sending zero length things as a bug in user code.

But Autobahn insists to be able to do it, so now we allow it.

That buys us a pass on Autobahn test 1.1.1 (the first of a bazillion)

Reproduce with

libwebsockets-test-echo --client localhost --port 9001 -u "/runCase?case=1&agent=libwebsockets" -v -d 65535 -n 1

Signed-off-by: Andy Green <andy.green@linaro.org>
lib/output.c