align max frame for mirror protocol to what the code does 35/3035/1
authorAndy Green <andy.green@linaro.org>
Sat, 9 Feb 2013 06:07:32 +0000 (14:07 +0800)
committerKevron Rees <kevron_m_rees@linux.intel.com>
Thu, 7 Mar 2013 21:01:32 +0000 (13:01 -0800)
Signed-off-by: Andy Green <andy.green@linaro.org>
test-server/test-client.c
test-server/test-server.c

index ab6f2f7..7d2a5ea 100644 (file)
@@ -172,7 +172,7 @@ static struct libwebsocket_protocols protocols[] = {
                "lws-mirror-protocol",
                callback_lws_mirror,
                0,
-               4096,
+               128,
        },
        { NULL, NULL, 0, 0 } /* end */
 };
index be01966..e272cd3 100644 (file)
@@ -466,7 +466,7 @@ static struct libwebsocket_protocols protocols[] = {
                "lws-mirror-protocol",
                callback_lws_mirror,
                sizeof(struct per_session_data__lws_mirror),
-               4096,
+               128,
        },
        { NULL, NULL, 0, 0 } /* terminator */
 };