1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-23 00:00:06 +01:00
Commit graph

4736 commits

Author SHA1 Message Date
stropee
efa6221216 Allow all HTTP method to be pipelined
Signed-off-by: stropee <simon@sirocha.fr>
2024-10-20 15:18:04 +02:00
Alexandre Snarskii
6b950e8666 cmake: improve net/ethernet.h header detection 2024-10-08 05:47:46 +01:00
Orgad Shaneh
c3a5c097ce tls-sessions: Pass correct type for printf %u 2024-10-06 08:10:51 +01:00
Orgad Shaneh
0336ff058e win: simplify error logging in windows-sockets.c 2024-10-03 05:27:48 +01:00
Orgad Shaneh
4c3f13eda0 win: change uid_t and gid_t from int to unsigned int
Like they are on Linux.
2024-10-03 05:24:54 +01:00
Orgad Shaneh
994278eff3 unix-file: Fix signed/unsigned implicit conversion 2024-10-03 05:21:43 +01:00
Orgad Shaneh
56cc214ac7 win32: zlib: Fix buffer overflow on inflate (CVE-2022-37434) 2024-10-03 05:14:15 +01:00
Andy Green
5f3d5e3a3d custom_event: fake_POLLIN_override
As discussed in

https://github.com/warmcat/libwebsockets/issues/3219
2024-09-30 12:49:08 +01:00
Andy Green
78a6d17aa2 mbedtls: provide declaration if ge 3.5
https://github.com/warmcat/libwebsockets/issues/3169
2024-09-29 11:50:00 +01:00
Andy Green
9dbbd45170 lws_get_urlarg_by_name: drop candidates that wont fit in buf rather than bail
https://github.com/warmcat/libwebsockets/issues/3227
2024-09-28 06:03:06 +01:00
Andy Green
c60bff0991 ws: extensions: allow h2 headers
https://github.com/warmcat/libwebsockets/issues/3151
2024-09-26 06:13:05 +01:00
Andy Green
da61d4df06 win: file: use INVALID_HANDLE_VALUE directly
c571d22dba (commitcomment-142753910)
2024-09-25 12:25:05 +01:00
Andy Green
deb620501d doc: session tickets
https://github.com/warmcat/libwebsockets/issues/3226
2024-09-25 12:16:19 +01:00
Andy Green
082443ff25 netdev: BIND_TO_DEVICE 2024-09-25 10:43:29 +01:00
Andy Green
79ae57a2f9 wolfssl: have docs follow switch change
https://github.com/warmcat/libwebsockets/issues/3116
2024-09-25 10:35:32 +01:00
stropee
6bf61482b2 freertos: extra do_ripe 2024-09-25 10:30:24 +01:00
Andy Green
8d27d941c3 check func munging
https://github.com/warmcat/libwebsockets/issues/3181
2024-09-25 09:45:49 +01:00
Andy Green
4f32b715ce win: trigger context destroy if pt destroying itself
https://github.com/warmcat/libwebsockets/issues/3182

This follows the flow for *nix
2024-09-25 09:36:29 +01:00
iwashiira
a7e21153b0 upng: implement stricter integer overflow check
https://github.com/warmcat/libwebsockets/pull/3156
2024-09-25 09:08:30 +01:00
Andy Green
0a5a701cfc event: blow error if runtime context options want eventlib we dont have
https://github.com/warmcat/libwebsockets/issues/3186
2024-09-25 09:04:14 +01:00
Andy Green
e975bae1e6 ws: increase sanity check for spins needed to consume buffer to 100
https://github.com/warmcat/libwebsockets/issues/3184
2024-09-25 08:52:53 +01:00
Andy Green
b486c2b545 pipe: only pt destroy pipe close should close pipe fds
https://github.com/warmcat/libwebsockets/issues/2873
2024-09-25 08:42:44 +01:00
Andy Green
38677d36e5 lws_extension_callback_pm_deflate: make visible
https://github.com/warmcat/libwebsockets/issues/3178
2024-09-25 07:45:38 +01:00
Andy Green
2b47b276d4 win32: upscale timeout_ms to 64-bit int
This may help with this:

https://github.com/warmcat/libwebsockets/issues/3201
2024-09-25 07:12:50 +01:00
Andy Green
11b99188f8 without-server: adapt loops to not touch listen_list
https://github.com/warmcat/libwebsockets/issues/3203
2024-09-25 07:02:12 +01:00
Andy Green
6112189aac unix-sockets: extra care around short for some toolchains
https://github.com/warmcat/libwebsockets/issues/3163
2024-09-25 06:46:25 +01:00
Andy Green
a542eb0a3b openbsd: disable HIGH_RELIABLITY socket option
https://github.com/warmcat/libwebsockets/issues/3204
2024-09-25 06:29:30 +01:00
Andy Green
9e0bc9e259 openssl: allow custom SSL_CTX with GLOBAL_INIT unset 2024-09-23 13:11:40 +01:00
Andy Green
2a5c8913a8 centos7: remove obsolete workaround
Need for this seems to have gone away

https://github.com/warmcat/libwebsockets/issues/2729
2024-09-23 11:01:17 +01:00
Andy Green
d102a080fe cmake: ninja: clean empty dir
https://github.com/warmcat/libwebsockets/issues/3220
2024-09-23 11:01:14 +01:00
ribes96
457a186f5b cgi: setenv: remove equals from arg
https://github.com/warmcat/libwebsockets/issues/3222
2024-09-23 10:36:50 +01:00
Andy Green
c0267eceec tls: openssl: ensure actual error first 2024-09-23 07:00:29 +01:00
Andy Green
53c2adab1a udp: stop crash on failed udp connects at cx destroy 2024-09-23 07:00:25 +01:00
leleliu008
f69835e09c Subject: [PATCH] AI_V4MAPPED macro is missing on some platforms, e.g. OpenBSD, NetBSD, etc. 2024-08-29 14:49:37 +01:00
lailoken
c980be7cf7 windows: fix mishandling slow connects
https://github.com/warmcat/libwebsockets/issues/3208
2024-08-20 13:58:56 +01:00
James Darpinian
8674bf1585 ACME: fixes
Increase polling time and poll the "order" endpoint instead of the "finalize" endpoint. These changes are required for ACME to work with Let's Encrypt as of 2024.
2024-06-24 12:36:09 +01:00
zzblydia
fdde9119f7 client hs: fix segmentation fault
https://github.com/warmcat/libwebsockets/pull/3171
2024-06-24 09:08:31 +01:00
Andy Green
4abdfa810a client-http: use enum for failures correctly
https://github.com/warmcat/libwebsockets/issues/3159
2024-05-31 17:09:59 +01:00
iwashiira
090ec8ef6b lepc: added bound check for collect_tgt 2024-05-30 05:46:25 +01:00
Andy Green
d1d622d3b9 upng: fuzz: handle 0 width 2024-05-16 08:44:14 +01:00
Andy Green
1e0953ffb8 dlo-lhp: take care margin and padding atr may be NULL
iwashiira on github https://github.com/warmcat/libwebsockets/issues/3140
found the html / css calculation could end up with NULL margin sizes.
2024-05-12 05:55:18 +01:00
Andy Green
bcde9a5b49 lhp: assert if NULL css stack coming to lws_csp_px
iwashiira on github https://github.com/warmcat/libwebsockets/issues/3140
found the html / css calculation could end up with NULL margin sizes.

This causes an assert if we get this unacceptable situation as far as
lws_csp_px()
2024-05-12 05:55:18 +01:00
Zac He
e0f401c0ac Restore erroneous modified assertion 2024-05-12 05:55:18 +01:00
iwashiira
8e84473e3c jpeg: extend mcu_buf_len so that pDst does not cause OOB 2024-05-12 05:17:50 +01:00
Dmitry Potapov
3b0eb45518 http: server: _lws_vhost_init_server_af only needed once
If we already have vh_listen_sockfd ready, call _lws_vhost_init_server_af
only once, regardless of IPv6 support.
2024-05-12 05:11:54 +01:00
Dmitry Potapov
4eab8f5a19 http: windows: adapt dup() to use windows api 2024-05-12 05:10:22 +01:00
iwashiira
7218743472 upng: check ims limits 2024-05-09 14:43:33 +01:00
Seo Suchan
9ba1504d01 mbedtls: fix compile on mbedtls 3.6+
they moved mbedtls_x509_get_name into interal zone.

Signed-off-by: Seo Suchan <tjtncks@gmail.com>
2024-05-07 13:49:23 +01:00
Zac He
e820283203 service: lock pt while using wsi fdtable pos 2024-04-14 05:08:13 +01:00
payne.ye
ec76f8178d smp: extend client to work with tsi
and take care of zombie sul previously left on connect failure path
2024-04-12 06:15:12 +01:00