Commit graph

11 commits

Author SHA1 Message Date
Rosen Penev
9c5d4fb5a4 libwebsockets: fix compilation with GCC12
Upstream backport.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-06-09 10:59:53 -07:00
Rosen Penev
7d1a019734 libwebsockets: fix compilation with newer GCC
Errors on uninitialized variable. No idea why only on powerpc64.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-02-14 17:20:42 -08:00
Karl Palsson
544c7b22b6 libwebsockets: update to 4.1.6
This is a major version bump, from 3.x to 4.x, and continues the path
towards a mail client.

New features:
* ntp client
* dns resolver
* mqtt client
* number humanizing string helpers

License change upstream.
cmake options tweaked to match current upstream defaults again.

Tested with mosquitto and ttyd.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2021-03-15 16:05:58 +00:00
Karl Palsson
d5bace89cf Revert "libwebsockets: move to 3.2.1"
This reverts commit 7066486fbb.

LWS 3.2.x and 4.0.x are broken on ath79 and malta-be, (at least)

See https://github.com/warmcat/libwebsockets/issues/2008
and
https://github.com/openwrt/packages/issues/13085

Restore a functional 3.1 release until upstream release.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2020-08-21 13:13:45 +00:00
Karl Palsson
7066486fbb libwebsockets: move to 3.2.1
3.2.x is formally "not maintained" and people should stick with 3.1.x
until a new release of the master branch occurs.  However, in reality,
3.2.1 has been released, with performance improvements and fixes.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2020-01-09 13:39:01 +00:00
Karl Palsson
05ec863154 libwebsockets: bump to 3.1.0
Drops an openssl deprecation patch applied upstream.

Changes since 3.0.0, the following list of websocket related features:
* gzip+brotli compression in the webserver
* threadpools
* string tokenizers
* http reverse proxies
* managed disk cache

Full changes at https://libwebsockets.org/git/libwebsockets/tree/changelog?id=89eedcaa94e1c8a97ea3af10642fd224bcea068f#n4

Tested on ath79, and classic usage of libwebsockets to provide
websockets support to a C application.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2018-12-10 15:33:50 +00:00
Rosen Penev
e54ecea1b0 libwebsockets: Fix build without deprecated OpenSSL APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-11-09 12:25:58 +00:00
Rosen Penev
4b9ec8dbae libwebsockets: Update to 3.0.0
Removed upstreamed patch.

Also added a patch to fix Travis.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Tested-by: Karl Palsson <karlp@etactica.com>
2018-07-05 10:45:01 +00:00
Alexander Couzens
3531c3a6c0 libwebsockets: remove build hostname
Using the build hostname breaks reproducible builds.
The patch is already merged upstream

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
2017-12-11 10:51:46 +00:00
Karl Palsson
affb6cb9ed libwebsockets: update to 1.4.x release.
This changes the ABI and .so number, so it is only suitable for
trunk packages.  A patch included upstream has been dropped.

Full changelog:
https://github.com/warmcat/libwebsockets/blob/master/changelog

Signed-off-by: Karl Palsson <karlp@remake.is>
2015-05-07 14:06:04 +00:00
Karl Palsson
8e6fc86dd5 libs: libwebsockets: add latest released version
This includes a patch for cyassl building that has been committed
upstream, but not released.

There's no SPDX license identifier for LGPL + static linking exception,
so I've used "LGPL-2.1+exception" as suggested at
http://lwn.net/Articles/378329/

See also: https://github.com/warmcat/libwebsockets/issues/170

Signed-off-by: Karl Palsson <karlp@remake.is>
2014-12-18 16:28:05 +00:00