From e7c97e84295030bb68bfb0eb42bff0a63dbad78c Mon Sep 17 00:00:00 2001 From: Andy Green Date: Sat, 9 Feb 2013 14:07:32 +0800 Subject: [PATCH] align max frame for mirror protocol to what the code does Signed-off-by: Andy Green --- test-server/test-client.c | 2 +- test-server/test-server.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test-server/test-client.c b/test-server/test-client.c index ab6f2f7d..7d2a5ea1 100644 --- a/test-server/test-client.c +++ b/test-server/test-client.c @@ -172,7 +172,7 @@ static struct libwebsocket_protocols protocols[] = { "lws-mirror-protocol", callback_lws_mirror, 0, - 4096, + 128, }, { NULL, NULL, 0, 0 } /* end */ }; diff --git a/test-server/test-server.c b/test-server/test-server.c index be019668..e272cd3b 100644 --- a/test-server/test-server.c +++ b/test-server/test-server.c @@ -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 */ };