websocket: Tune maximum received length
authorJosé Bollo <jose.bollo@iot.bzh>
Mon, 23 Oct 2017 12:11:04 +0000 (14:11 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Mon, 23 Oct 2017 12:11:04 +0000 (14:11 +0200)
commit5ef0804c5805faafc88107e591bf4c5f0173d69e
tree12403bc1043a5c10b1a8007f3e03f803dd950ca6
parent29cdbe709db6af42775c1abc3499a80ad73159d0
websocket: Tune maximum received length

This commit increase the count of data that
is accepted by default from 65,000 to 1,048,500.

It also offers new functions to tune that value.

Change-Id: Iecf0b8c308e8287582819a8769859c39e46919c2
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/websock.c
src/websock.h