From 6414a1b63c71302d8317cea39d2a30042122ce34 Mon Sep 17 00:00:00 2001 From: Glen Mabey <gmabey@gmail.com> Date: Tue, 25 Feb 2025 20:34:53 -0700 Subject: [PATCH 1/3] Subject: docs: fix typo --- READMEs/README.coding.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/READMEs/README.coding.md b/READMEs/README.coding.md index d1143f56..9fa1a2c8 100644 --- a/READMEs/README.coding.md +++ b/READMEs/README.coding.md @@ -190,7 +190,7 @@ a UDP socket pair that the event loop waits on. When the wake is handled by the lws event loop thread, it will broadcast a `LWS_CALLBACK_EVENT_WAIT_CANCELLED` message to every vhost-protocol instantiation, so you can handle this callback, usually lock a shared data region, and if you see you need to write, call -`lws_callback_on_writeable()` for the wsi(s) that need to write. +`lws_callback_on_writable()` for the wsi(s) that need to write. There's no restriction on multiple threads calling `lws_cancel_service()`, it's unconditionally safe due to how it is implemented underneath. From 2ce0be3284d119d3413ba9ccd67054a6506eafce Mon Sep 17 00:00:00 2001 From: Andy Green <andy@warmcat.com> Date: Thu, 27 Feb 2025 07:39:34 +0000 Subject: [PATCH 2/3] async dns: allow up to 8 x 128-char CNAMEs from 4 https://github.com/warmcat/libwebsockets/issues/3329 Extra ~600 bytes stack needed might be a struggle for RTOS, trimmed from 10 recommended in issue. --- lib/system/async-dns/async-dns-parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/system/async-dns/async-dns-parse.c b/lib/system/async-dns/async-dns-parse.c index bdfe2050..577cc458 100644 --- a/lib/system/async-dns/async-dns-parse.c +++ b/lib/system/async-dns/async-dns-parse.c @@ -154,7 +154,7 @@ lws_adns_iterate(lws_adns_q_t *q, const uint8_t *pkt, int len, const char *expname, lws_async_dns_find_t cb, void *opaque) { const uint8_t *e = pkt + len, *p, *pay; - struct label_stack stack[4]; + struct label_stack stack[8]; int n = 0, stp = 0, ansc, m; uint16_t rrtype, rrpaylen; char *sp, inq; From ab9df9cfc39de7a49967f18387b6b76310947442 Mon Sep 17 00:00:00 2001 From: Andy Green <andy@warmcat.com> Date: Fri, 28 Feb 2025 06:41:42 +0000 Subject: [PATCH 3/3] tag 4.3.5 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bd1f9a35..57c35232 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -410,7 +410,7 @@ set(CPACK_RPM_PACKAGE_LICENSE "MIT") set(CPACK_PACKAGE_NAME "${PACKAGE}") set(CPACK_PACKAGE_VERSION_MAJOR "4") set(CPACK_PACKAGE_VERSION_MINOR "3") -set(CPACK_PACKAGE_VERSION_PATCH_NUMBER "3") +set(CPACK_PACKAGE_VERSION_PATCH_NUMBER "5") set(CPACK_PACKAGE_VERSION_PATCH "${CPACK_PACKAGE_VERSION_PATCH_NUMBER}-${LWS_BUILD_HASH}") set(CPACK_PACKAGE_RELEASE 1)