Skip to content

{bp-3540} netutils/libwebsockets: Remove hard-dependency on mbedTLS and enable websoket server#3549

Merged
xiaoxiang781216 merged 4 commits into
apache:releases/13.0from
jerpelea:bp-3540
Jun 17, 2026
Merged

{bp-3540} netutils/libwebsockets: Remove hard-dependency on mbedTLS and enable websoket server#3549
xiaoxiang781216 merged 4 commits into
apache:releases/13.0from
jerpelea:bp-3540

Conversation

@jerpelea

Copy link
Copy Markdown
Contributor

Summary

examples/lws_echo: Add a simple websocket server example
Adds a simple websocket server example that echoes data back to the client using libwebsockets.

netutils/libwebsockets: Fix error regarding building with CMake
Prior to this change, if an empty folder existed instead of the actual libwebsockets source, the build would fail. That was changed to
check for an actual file instead, avoid such kind of errors.
netutils/libwebsockets: Enable libwebsockets server
Enables building libwebsockets server based on a new Kconfig entry.
netutils/libwebsockets: Remove hard dependency on mbedTLS
libwebsockets can be built without TLS support. To allow this, it was necessary to create a specific Kconfig option that enables TLS support if OPENSSL_MBEDTLS_WRAPPER is enabled. Otherwise, TLS is not supported (but libwebsockets can still be used with plain ws:// connections).

Impact

RELEASE

Testing

CI

tmedicci added 4 commits June 17, 2026 10:47
libwebsockets can be built without TLS support. To allow this, it
was necessary to create a specific Kconfig option that enables TLS
support if OPENSSL_MBEDTLS_WRAPPER is enabled. Otherwise, TLS is
not supported (but libwebsockets can still be used with plain ws://
connections).

Signed-off-by: Tiago Medicci <tiago.medicci@espressif.com>
This commit enables building libwebsockets server based on a new
Kconfig entry.

Signed-off-by: Tiago Medicci <tiago.medicci@espressif.com>
Prior to this change, if an empty folder existed instead of the
actual libwebsockets source, the build would fail. This commit
checks for an actual file instead, avoid such kind of errors.

Signed-off-by: Tiago Medicci <tiago.medicci@espressif.com>
This commit adds a simple websocket server example that echoes data
back to the client using libwebsockets.

Signed-off-by: Tiago Medicci <tiago.medicci@espressif.com>
@xiaoxiang781216 xiaoxiang781216 merged commit 9ee1c83 into apache:releases/13.0 Jun 17, 2026
28 of 41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants