summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuan Rafael Carneiro <luan.rafael@ossystems.com.br>2021-07-15 09:05:58 -0300
committerKhem Raj <raj.khem@gmail.com>2021-07-16 09:23:03 -0700
commit8adf2bd2c6f3c6f9537e90c09edf4521a4dcee15 (patch)
treeb197896856f2095d466191ae85fd0f2a8d58a4ed
parentdb86e733f7788f1f76b456eb76af60d7f355cf67 (diff)
downloadmeta-openembedded-8adf2bd2c6f3c6f9537e90c09edf4521a4dcee15.tar.gz
libwebsockets: Update 4.2.0 -> 4.2.1
Update the library to the 4.2.1 stable release. This commit includes following changes: 8a580b59 v4.2.1 e90f005a vhost: listen: protect listen port transfer between 041baf93 mbedtls: sessions: clean session on bail path 4038a7d4 windows: align plat insert socket POLLIN handling to linux a310e16f socks5: cast for mingw3 nonposix recv args 439651fa openssl: manage _GNU_SOURCE better c042ba8c mqtt: handle NULL mqtt publish metadata 04761c4b event libs: glib: use glib.h specifically 599d318a mqtt: coverity: help coverity see we wont have an mqtt role wsi without mqtt member allocated bae99f63 tls: add option to serialize ssl handshake ff1b8ed0 tls: fix inbalanced tls restrict borrow/return calls ad3901d0 raw-proxy: fix role bind flag 4bc8b1a4 extpoll: clean up test server for Wconversion in extpoll parts eeea000c dns: handle EAI_NONAME as fatal 9e5acc05 minimal: hcmulti: modernize startup to use OPERATIONAL 55533f96 netlink: hold in COLDPLUG until we actually have some routing table contents fa1a7040 sspc: close: differentiate between ss and sspc at final wsi close 3f0fef17 gcc: gcc8 only recognizes fallthu e319b15b minimal: ws client spam: modernize with pvo and cancel service after interrupted ea4d8008 service: fix casts for EXTERNAL_POLL aea9d0ce tls-sessions: remove no stash warning 10c1b882 ss: check destroy null policy e4aa3ece ss: check serialize null policy 4141a68f ss: avoid null ss policy on req tx len de8185db ss: avoid null ss policy on req tx 526310df ss: h1: log dereferences NULL 7a283eba minimal: htt-client: send user agent and accept 3d13468e ctest: do not reuse ctest-ssp path e3da2a3b android: getnameinfo uses nonstandard size_t 8398ef79 getifaddrs: casts for android 02ae95fa non-windows: explicit cast vaarg to mode_t 7c3c179e win32: client: just do WIN32 check 4c8195df windows: only conceal mode_t on windows 0ba8df6e threadpool: disassociate wsi on close 94c50618 tls: mbedtls: fix cast for dump helper d896d401 freertos: check for forcing each time around service loop cd87bc1c cmake: tls: use CHECK_SYMBOL_EXISTS da17f018 plugin: post: check unexpected write after protocol unbind 1c935dff clean: else became a NOP 896a2e09 strexp: handle NULL better aa090fc2 cygwin: include in unix type socket init 58a34cb0 examples: embedded: keep loop running on WROVER 85f772f2 OSX: Fixed can't find clock_gettime 014aa77e core-net: Remove unused variable e1ef2301 ss: h2: handle zero length COLON_PATH for metadata 0557e919 sspc: handle nonexistent metadata cleanly 07bef6b8 coverity: ntp from blob: handle blob missing 2f9ed48d coverity: report problem in hpack_dynamic_size() to parent d155970b coverity: h->cwsi must be valid if we are handling rx on it 2d97e343 ss: split out blob into own minimal example c3dd4d05 ss: sspc: handle destroy for client_connect and request_tx Signed-off-by: Luan Rafael Carneiro <luan.rafael@ossystems.com.br> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-connectivity/libwebsockets/libwebsockets/0001-core-net-Remove-unused-variable.patch54
-rw-r--r--meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.2.1.bb (renamed from meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.2.0.bb)6
2 files changed, 2 insertions, 58 deletions
diff --git a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets/0001-core-net-Remove-unused-variable.patch b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets/0001-core-net-Remove-unused-variable.patch
deleted file mode 100644
index d648c284b5..0000000000
--- a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets/0001-core-net-Remove-unused-variable.patch
+++ /dev/null
@@ -1,54 +0,0 @@
1From cfa40cc1c2df6c64fb53bb4a2a56eb09e3e1309c Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 4 Jun 2021 18:21:58 -0700
4Subject: [PATCH] core-net: Remove unused variable
5
6variable 'n' is being set but it is not used anywhere, latest clang is
7able to detect this and flags it
8
9Fixes
10
11lib/core-net/route.c:41:6: error: variable 'n' set but not used [-Werror,-Wunused-but-set-variable]
12| int n = 0;
13| ^
14
15Upstream-Status: Submitted [https://github.com/warmcat/libwebsockets/pull/2320]
16Signed-off-by: Khem Raj <raj.khem@gmail.com>
17---
18 lib/core-net/route.c | 7 +++----
19 1 file changed, 3 insertions(+), 4 deletions(-)
20
21diff --git a/lib/core-net/route.c b/lib/core-net/route.c
22index efe08ba1..6be93d62 100644
23--- a/lib/core-net/route.c
24+++ b/lib/core-net/route.c
25@@ -38,23 +38,22 @@ void
26 _lws_routing_entry_dump(lws_route_t *rou)
27 {
28 char sa[48], fin[192], *end = &fin[sizeof(fin)];
29- int n = 0;
30
31 if (rou->dest.sa4.sin_family) {
32 lws_sa46_write_numeric_address(&rou->dest, sa, sizeof(sa));
33- n += lws_snprintf(fin, lws_ptr_diff_size_t(end, fin),
34+ lws_snprintf(fin, lws_ptr_diff_size_t(end, fin),
35 "dst: %s/%d, ", sa, rou->dest_len);
36 }
37
38 if (rou->src.sa4.sin_family) {
39 lws_sa46_write_numeric_address(&rou->src, sa, sizeof(sa));
40- n += lws_snprintf(fin, lws_ptr_diff_size_t(end, fin),
41+ lws_snprintf(fin, lws_ptr_diff_size_t(end, fin),
42 "src: %s/%d, ", sa, rou->src_len);
43 }
44
45 if (rou->gateway.sa4.sin_family) {
46 lws_sa46_write_numeric_address(&rou->gateway, sa, sizeof(sa));
47- n += lws_snprintf(fin, lws_ptr_diff_size_t(end, fin),
48+ lws_snprintf(fin, lws_ptr_diff_size_t(end, fin),
49 "gw: %s, ", sa);
50 }
51
52--
532.31.1
54
diff --git a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.2.0.bb b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.2.1.bb
index 18b72ae8f5..685aebee59 100644
--- a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.2.0.bb
+++ b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.2.1.bb
@@ -6,10 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c8bea43a2eb5d713c338819a0be07797"
6DEPENDS = "zlib" 6DEPENDS = "zlib"
7 7
8S = "${WORKDIR}/git" 8S = "${WORKDIR}/git"
9SRCREV = "4b6a7982b6833c8ccac1f35caaf9e8ccc605ff9a" 9SRCREV = "8a580b59b23d204ca72028370e97a8f6aa0c9202"
10SRC_URI = "git://github.com/warmcat/libwebsockets.git;protocol=https;branch=v4.2-stable \ 10SRC_URI = "git://github.com/warmcat/libwebsockets.git;protocol=https;branch=v4.2-stable"
11 file://0001-core-net-Remove-unused-variable.patch \
12 "
13 11
14UPSTREAM_CHECK_URI = "https://github.com/warmcat/${BPN}/releases" 12UPSTREAM_CHECK_URI = "https://github.com/warmcat/${BPN}/releases"
15UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" 13UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"