diff options
author | Andy Green <andy@warmcat.com> | 2011-01-30 20:40:32 +0000 |
---|---|---|
committer | Andy Green <andy@warmcat.com> | 2011-01-30 20:40:32 +0000 |
commit | 6a98054a36d65f9f9b6e50040bd19cb963619a99 (patch) | |
tree | f5f6b586969b67d69237288faa487a997175856a /test-server | |
parent | 2f4c2be52a49d6aa736ed32eb85dfb30d4ed43be (diff) |
fix-context-close.patch
Signed-off-by: Andy Green <andy@warmcat.com>
Diffstat (limited to 'test-server')
-rw-r--r-- | test-server/test-client.c | 3 | ||||
-rw-r--r-- | test-server/test-ping.c | 6 |
2 files changed, 0 insertions, 9 deletions
diff --git a/test-server/test-client.c b/test-server/test-client.c index 289374a..b503343 100644 --- a/test-server/test-client.c +++ b/test-server/test-client.c @@ -243,9 +243,6 @@ int main(int argc, char **argv) while (n >= 0) n = libwebsocket_service(context, 1000); - libwebsocket_client_close(wsi_dumb); - libwebsocket_client_close(wsi_mirror); - libwebsocket_context_destroy(context); return 0; diff --git a/test-server/test-ping.c b/test-server/test-ping.c index 7b901ec..b2a8684 100644 --- a/test-server/test-ping.c +++ b/test-server/test-ping.c @@ -489,12 +489,6 @@ int main(int argc, char **argv) ((double)global_rx_count * (double)size) / ((double)(l - started) / 1000000.0) / 1024.0); -// return 0; -fprintf(stderr, "a\n"); - for (n = 0; n < clients; n++) - libwebsocket_client_close(wsi[n]); - -fprintf(stderr, "b\n"); libwebsocket_context_destroy(context); return 0; |