zephyr/subsys/net/lib
Robert Lubos 7ccf870670 net: coap_client: Stop all socket activities when cancelling requests
Calling coap_client_cancel_requests() clears the internal request
context only for active requests (i. e. not replied yet). However,
if there are any pending request context monitoring ACK duplicates,
those would still make the corresponding client socket being monitored
by poll(). In result, when application closes the socket, the polling
thread will throw POLLNVAL error for the socket.

Fix this, by resetting all request contexts unconditionally. The request
callback will only be called for the active requests.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-02-18 13:31:15 +01:00
..
capture
coap net: coap_client: Stop all socket activities when cancelling requests 2025-02-18 13:31:15 +01:00
config
dhcpv4 net: dhcp: Avoid source port validation in replies 2025-02-12 16:03:57 +01:00
dhcpv6 net: dhcpv6: Add support for DNS Recursive Name Server option 2025-02-12 20:19:26 +01:00
dns net: dns: Log with debug level instead of error level when recv fails 2025-02-14 10:48:06 +01:00
http net: lib: http_server: Remove unused function 2025-02-12 02:25:41 +01:00
lwm2m net: lwm2m: Fix time resource validation 2025-02-12 09:41:35 +01:00
mqtt
mqtt_sn net: mqtt-sn: Wait for register & subscribe to complete 2025-02-11 11:44:52 +00:00
prometheus
ptp
shell
sntp
sockets
socks
tftp
tls_credentials
trickle
utils
websocket
wifi_credentials secure_storage: add a global registry header file for PSA key IDs 2025-02-13 20:22:09 +01:00
zperf
CMakeLists.txt
Kconfig