libwebsockets: Update 4.2.0 -> 4.2.1
PATCH 1/1 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
---
...0001-core-net-Remove-unused-variable.patch | 54 -------------------
...ockets_4.2.0.bb => libwebsockets_4.2.1.bb} | 6 +--
2 files changed, 2 insertions(+), 58 deletions(-)
delete mode 100644 meta-oe/recipes-connectivity/libwebsockets/libwebsockets/0001-core-net-Remove-unused-variable.patch
rename meta-oe/recipes-connectivity/libwebsockets/{libwebsockets_4.2.0.bb => libwebsockets_4.2.1.bb} (93%)meta-oe/recipes-connectivity/libwebsockets/libwebsockets/0001-core-net-Remove-unused-variable.patch deleted +0 -54
@@ -1,54 +0,0 @@ -From cfa40cc1c2df6c64fb53bb4a2a56eb09e3e1309c Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Fri, 4 Jun 2021 18:21:58 -0700 -Subject: [PATCH] core-net: Remove unused variable - -variable 'n' is being set but it is not used anywhere, latest clang is -able to detect this and flags it - -Fixes - -lib/core-net/route.c:41:6: error: variable 'n' set but not used [-Werror,-Wunused-but-set-variable] -| int n = 0; -| ^ - -Upstream-Status: Submitted [https://github.com/warmcat/libwebsockets/pull/2320] -Signed-off-by: Khem Raj <[email protected]> ---- - lib/core-net/route.c | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -diff --git a/lib/core-net/route.c b/lib/core-net/route.c -index efe08ba1..6be93d62 100644 ---- a/lib/core-net/route.c -+++ b/lib/core-net/route.c -@@ -38,23 +38,22 @@ void - _lws_routing_entry_dump(lws_route_t *rou) - { - char sa[48], fin[192], *end = &fin[sizeof(fin)]; -- int n = 0; - - if (rou->dest.sa4.sin_family) { - lws_sa46_write_numeric_address(&rou->dest, sa, sizeof(sa)); -- n += lws_snprintf(fin, lws_ptr_diff_size_t(end, fin), -+ lws_snprintf(fin, lws_ptr_diff_size_t(end, fin), - "dst: %s/%d, ", sa, rou->dest_len); - } - - if (rou->src.sa4.sin_family) { - lws_sa46_write_numeric_address(&rou->src, sa, sizeof(sa)); -- n += lws_snprintf(fin, lws_ptr_diff_size_t(end, fin), -+ lws_snprintf(fin, lws_ptr_diff_size_t(end, fin), - "src: %s/%d, ", sa, rou->src_len); - } - - if (rou->gateway.sa4.sin_family) { - lws_sa46_write_numeric_address(&rou->gateway, sa, sizeof(sa)); -- n += lws_snprintf(fin, lws_ptr_diff_size_t(end, fin), -+ lws_snprintf(fin, lws_ptr_diff_size_t(end, fin), - "gw: %s, ", sa); - } - --- -2.31.1 -
meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.2.1.bb renamed from meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.2.0.bb +2 -4
@@ -6,10 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c8bea43a2eb5d713c338819a0be07797" DEPENDS = "zlib" S = "${WORKDIR}/git" -SRCREV = "4b6a7982b6833c8ccac1f35caaf9e8ccc605ff9a" -SRC_URI = "git://github.com/warmcat/libwebsockets.git;protocol=https;branch=v4.2-stable \ - file://0001-core-net-Remove-unused-variable.patch \ - " +SRCREV = "8a580b59b23d204ca72028370e97a8f6aa0c9202" +SRC_URI = "git://github.com/warmcat/libwebsockets.git;protocol=https;branch=v4.2-stable" UPSTREAM_CHECK_URI = "https://github.com/warmcat/${BPN}/releases" UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
Signature · 1 line
2.25.1
Em qui., 15 de jul. de 2021 às 09:05, Luan Rafael Carneiro <[email protected]> escreveu:
Quoted 56 lines
Update the library to the 4.2.1 stable release.
This commit includes following changes:
8a580b59v4.2.1
e90f005avhost: listen: protect listen port transfer between
041baf93mbedtls: sessions: clean session on bail path
4038a7d4windows: align plat insert socket POLLIN handling to linux
a310e16fsocks5: cast for mingw3 nonposix recv args
439651faopenssl: manage_GNU_SOURCEbetter
c042ba8cmqtt: handle NULL mqtt publish metadata
04761c4bevent libs: glib: useglib.hspecifically
599d318amqtt: coverity: help coverity see we wont have an mqtt role wsi without mqtt member allocatedbae99f63tls: add option to serialize ssl handshake
ff1b8ed0tls: fix inbalanced tls restrict borrow/return calls
ad3901d0raw-proxy: fix role bind flag
4bc8b1a4extpoll: clean up test server for Wconversion in extpoll parts
eeea000cdns: handleEAI_NONAMEas fatal
9e5acc05minimal: hcmulti: modernize startup to use OPERATIONAL
55533f96netlink: hold in COLDPLUG until we actually have some routing table contentsfa1a7040sspc: close: differentiate between ss and sspc at final wsi close
3f0fef17gcc: gcc8 only recognizes fallthu
e319b15bminimal: ws client spam: modernize with pvo and cancel service after interruptedea4d8008service: fix casts forEXTERNAL_POLL
aea9d0cetls-sessions: remove no stash warning
10c1b882ss: check destroy null policy
e4aa3ecess: check serialize null policy
4141a68fss: avoid null ss policy on req tx len
de8185dbss: avoid null ss policy on req tx
526310dfss: h1: log dereferences NULL
7a283ebaminimal: htt-client: send user agent and accept
3d13468ectest: do not reuse ctest-ssp path
e3da2a3bandroid: getnameinfo uses nonstandardsize_t
8398ef79getifaddrs: casts for android
02ae95fanon-windows: explicit cast vaarg tomode_t
7c3c179ewin32: client: just do WIN32 check
4c8195dfwindows: only concealmode_ton windows
0ba8df6ethreadpool: disassociate wsi on close
94c50618tls: mbedtls: fix cast for dump helper
d896d401freertos: check for forcing each time around service loop
cd87bc1ccmake: tls: useCHECK_SYMBOL_EXISTS
da17f018plugin: post: check unexpected write after protocol unbind
1c935dffclean: else became a NOP
896a2e09strexp: handle NULL better
aa090fc2cygwin: include in unix type socket init
58a34cb0examples: embedded: keep loop running on WROVER
85f772f2OSX: Fixed can't findclock_gettime
014aa77ecore-net: Remove unused variable
e1ef2301ss: h2: handle zero lengthCOLON_PATHfor metadata
0557e919sspc: handle nonexistent metadata cleanly
07bef6b8coverity: ntp from blob: handle blob missing
2f9ed48dcoverity: report problem inhpack_dynamic_size()to parent
d155970bcoverity:h->cwsimust be valid if we are handling rx on it
2d97e343ss: split out blob into own minimal example
c3dd4d05ss: sspc: handle destroy forclient_connectandrequest_tx
Quoted 1 line
Signed-off-by Luan Rafael Carneiro <[email protected]>
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9 9981-7854 Mobile: +1 (347) 903-9750