diff options
Diffstat (limited to 'main/libwebsockets/0001-test-apps-dont-build-extension-support-if-LWS_WITHOU.patch')
-rw-r--r-- | main/libwebsockets/0001-test-apps-dont-build-extension-support-if-LWS_WITHOU.patch | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/main/libwebsockets/0001-test-apps-dont-build-extension-support-if-LWS_WITHOU.patch b/main/libwebsockets/0001-test-apps-dont-build-extension-support-if-LWS_WITHOU.patch deleted file mode 100644 index 150769d2a99..00000000000 --- a/main/libwebsockets/0001-test-apps-dont-build-extension-support-if-LWS_WITHOU.patch +++ /dev/null @@ -1,76 +0,0 @@ -From ac3878158ae065a84f609d7a5d985689a9bd39a5 Mon Sep 17 00:00:00 2001 -From: Andy Green <andy@warmcat.com> -Date: Fri, 21 Aug 2020 07:48:48 +0100 -Subject: [PATCH] test-apps: dont build extension support if - LWS_WITHOUT_EXTENSIONS - ---- - test-apps/test-client.c | 4 ++-- - test-apps/test-server.c | 4 ++-- - 2 files changed, 4 insertions(+), 4 deletions(-) - -diff --git a/test-apps/test-client.c b/test-apps/test-client.c -index 3eae37e3..d8021c2c 100644 ---- a/test-apps/test-client.c -+++ b/test-apps/test-client.c -@@ -510,6 +510,7 @@ - { NULL, NULL, 0, 0 } /* end */ - }; - -+#if !defined(LWS_WITHOUT_EXTENSIONS) - static const struct lws_extension exts[] = { - { - "permessage-deflate", -@@ -523,7 +524,7 @@ - }, - { NULL, NULL, NULL /* terminator */ } - }; -- -+#endif - - - void sighandler(int sig) -@@ -710,7 +711,9 @@ - info.gid = -1; - info.uid = -1; - info.ws_ping_pong_interval = pp_secs; -+#if !defined(LWS_WITHOUT_EXTENSIONS) - info.extensions = exts; -+#endif - - /* - * since we know this lws context is only ever going to be used with -diff --git a/test-apps/test-server.c b/test-apps/test-server.c -index 837136c0..cd83d9c4 100644 ---- a/test-apps/test-server.c -+++ b/test-apps/test-server.c -@@ -206,6 +206,7 @@ - lws_cancel_service(context); - } - -+#if !defined(LWS_WITHOUT_EXTENSIONS) - static const struct lws_extension exts[] = { - { - "permessage-deflate", -@@ -214,6 +215,7 @@ - }, - { NULL, NULL, NULL /* terminator */ } - }; -+#endif - - /* - * mount handlers for sections of the URL space -@@ -523,7 +525,9 @@ - info.gid = gid; - info.uid = uid; - info.options = opts | LWS_SERVER_OPTION_VALIDATE_UTF8 | LWS_SERVER_OPTION_EXPLICIT_VHOSTS; -+#if !defined(LWS_WITHOUT_EXTENSIONS) - info.extensions = exts; -+#endif - info.timeout_secs = 5; - info.ssl_cipher_list = "ECDHE-ECDSA-AES256-GCM-SHA384:" - "ECDHE-RSA-AES256-GCM-SHA384:" - --- -2.27.0 - |