commit | ff5dbf91b1d9a5d0f8b4cebd7bf60c0778b646a2 | [log] [tgz] |
---|---|---|
author | Andy Green <andy.green@linaro.org> | Thu Feb 14 10:18:31 2013 +0800 |
committer | Andy Green <andy.green@linaro.org> | Thu Feb 14 10:18:31 2013 +0800 |
tree | bcd284e807e4828ef6ee67c123444544506ae8f6 | |
parent | 182cb9ae5f48852cbc95b98ebdedb484d2c3493b [diff] |
check for default protocol rx buf limit This fixes http://libwebsockets.org/trac/ticket/13 When using the default rx protocol buffer, the check is performed against 0 not the default length. That's the case both in client and server code... There's no problem if you actually give a max frame size in the protocol definition. Signed-off-by: Andy Green <andy.green@linaro.org>