stropee
efa6221216
Allow all HTTP method to be pipelined
...
Signed-off-by: stropee <simon@sirocha.fr>
2024-10-20 15:18:04 +02: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
082443ff25
netdev: BIND_TO_DEVICE
2024-09-25 10:43:29 +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
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
Zac He
e0f401c0ac
Restore erroneous modified assertion
2024-05-12 05:55:18 +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
titofra
5ab6e04c79
lws_xxx_all_protocol: also compare by protocol names
2024-04-12 06:04:40 +01:00
Vladislavs Burakovs
a724300d26
wol: fix socket return for windows
2024-03-01 08:11:11 +00:00
Andy Green
837db622eb
clean: avoid maybe-uninitialized
...
https://github.com/warmcat/libwebsockets/issues/3049
2024-01-16 07:15:30 +00:00
Andy Green
49bfef2ecd
wol: portability
...
https://github.com/warmcat/libwebsockets/issues/3048
2024-01-13 08:53:55 +00:00
Andy Green
957503436e
http: mounts: LWSMPRO_NO_MOUNT
...
Provide a way to apply exception mount urls that exist on top of a larger
mount, but provide an exception which enforces the url to not be serviced
by the mount code, but by whatever dynamic handler is in place.
2023-12-12 05:57:38 +00:00
Ilya Smelykh
fdfde2ce0b
http: auth digest
2023-12-08 10:25:50 +00:00
Andy Green
dab8e1c4f8
mac length: switch to ETHER_ADDR_LEN
...
Long story, there's also minimal example to take care of.
This change should take care of anything with ETHER_ADDR_LEN in
net/ethernet.h plus windows, for both the lib and example.
2023-12-07 05:31:25 +00:00
Andy Green
4af988600f
net: lws_wol() and lws_parse_mac()
...
Introduce a LWS_WITH_WOL and an api to wake a mac address, optionally with
an address bind to the local interface to go out on.
Add a helper to parse ascii mac addresses well, and add tests.
Also thanks to OgreTransporter
https://github.com/warmcat/libwebsockets/issues/3016
2023-11-24 05:44:42 +00:00
johnnychen
9f44863e07
tls: fix ssl connection error in raw connection
2023-11-23 09:45:12 +00:00
Vladimir
8ab44ae28b
client: win32: sul for client connection status polling
...
https://github.com/warmcat/libwebsockets/pull/2715
https://github.com/warmcat/libwebsockets/pull/2722
2022-09-18 06:16:14 +01:00
Dmitry Potapov
162e11e530
vhost: remove from defer binding on destroy
...
If a vhost is removed, it should remove references to it from the
defer binding list to avoid dangling pointers, which can crash the
application.
2022-08-17 08:57:37 +01:00
Jaume
2445793d15
windows: client connect: use sockaddr size
2022-06-14 07:40:58 +01:00
Andy Green
2760c9b0be
tls shudown: avoid spin
2022-06-14 07:36:44 +01:00
Andy Green
4a443c3e2e
lhp: add DLO layout support
...
Add a dlo-based layout callback for use with lhp.
If lhp_dl_render() is used as the Lws Html/CSS parser callback, it
produces a display_list representation of the Html as DLOs, referencing the
appropriate CSS to drive the layout as best it can.
The display list can be rasterized on to an lws_display using the display's
state object
lds->disp->blit(lds, (uint8_t *)&dl, &box);
2022-05-04 08:43:26 +01:00
Andrii Sevastianov
e86490fc45
validity: fix bad pointer access
...
We cannot access wsi after __lws_close_free_wsi.
2022-05-04 08:43:26 +01:00
Andy Green
06229deb8c
async_dns: protocols init: make sure we add vhost once
2022-04-13 20:13:47 +01:00
Andy Green
615a08b216
threadpool: improve relationship with LWS_HAVE_PTHREAD_H
...
Make it clear in more places that threadpool is only built if pthreads
available.
https://github.com/warmcat/libwebsockets/issues/2607
2022-04-11 06:53:47 +01:00
wayneonway
61880e15ff
netlink: route handling checks for SRC when it means DST
...
https://github.com/warmcat/libwebsockets/issues/2603
2022-04-10 06:56:12 +01:00
Felipe Gasper
76a5a9e2f2
client: connect report actual socket error to user callback rather than EINPROGRESS
...
https://github.com/warmcat/libwebsockets/pull/2452
2022-04-10 06:56:12 +01:00
apcui
730c954b42
windows: avoid NULL addr on connect check
...
https://github.com/warmcat/libwebsockets/issues/2596
2022-04-10 06:56:12 +01:00
Andy Green
fcbc0dafa4
lws_ota
2022-03-25 08:18:30 +00:00
Andy Green
7847377750
sul: add clear advice for zombie suls
2022-03-25 08:18:30 +00:00
Andy Green
497e25df83
ss: http: facilitate back-to-back transactions
...
We need to insert a CONNECTING state if we're going again.
2022-03-25 08:18:29 +00:00
wayneonway
73b61f6a2e
route: extend lws_route_uidx_t from 1 byte to 2 bytes
2022-03-15 10:28:09 +00:00
Andy Green
9011f913d5
netlink: always delete route if it exists
...
https://github.com/warmcat/libwebsockets/issues/2567
2022-03-15 10:28:09 +00:00
Andy Green
445651b2c6
cgi: gracefully handle missing wsi->http.cgi
2022-03-15 10:28:09 +00:00
Andy Green
5985f817da
lgtm.yml
2022-03-15 10:28:09 +00:00
Sylvain Saunier
84956d280a
route: fix nl groups and local ipv6 ads
2022-03-15 10:28:09 +00:00
Andy Green
0ca97586d6
mbedtls: improve api detection
...
mbedtls cmake api detection was not able to work on esp-idf well.
Improve diagnostics and reaction if we ever see that again.
2022-02-01 11:09:48 +00:00
Andy Green
6352fee219
sort-dns: fix scope comparison
...
https://github.com/warmcat/libwebsockets/issues/2537
2022-01-16 10:48:16 +00:00
Sylvian Saunier
38a39a3710
client: support socket source port setting
2022-01-16 10:48:16 +00:00
Andy Green
7e841130e0
coverity fixes
2022-01-16 10:48:11 +00:00
Andy Green
236512687e
dsh: msvc refuses void pointer arithmetic
2021-12-23 06:22:54 +00:00
Andy Green
bea294dd26
http: redirect: keep ssl options at redirect
2021-12-23 06:22:48 +00:00
Paul Lee
05c67c1879
service: make sure to sleep if nothing to do
...
https://github.com/warmcat/libwebsockets/issues/2524
2021-12-14 06:58:11 +00:00
Andy Green
f7aff789ca
cancel pipe: mark close when wsi is close
2021-12-13 19:02:56 +00:00
Joerg Wendel
fe8170dcdc
http: server: added no-cache handling to mounts
2021-12-13 19:02:56 +00:00
Daniel
59abab0e79
extpoll: make sure DEL_POLL_FD only coming once
...
https://github.com/warmcat/libwebsockets/issues/2500
2021-11-22 15:44:53 +00:00
Andy Green
ba89af373b
async dns: allow multiple servers and public add remove apis
2021-11-17 14:50:08 +00:00
Yichen Gu
87dd9283e1
wsimux: immortal: only process immortality once per stream
...
We can call mark immortal multiple times for a child stream, make sure it
is only processed (and increments the nwsi refcount) the once.
2021-11-09 07:45:58 +00:00