1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
Commit Graph

40391 Commits

Author SHA1 Message Date
Martine Lenders
dbed2b48ea
nanocoap_cache: add helper function to check if entry is stale 2022-05-13 12:14:55 +02:00
Martine Lenders
e6a9443932
tests/unittests/tests-gcoap: adapt for automatically added ETag option 2022-05-13 12:14:55 +02:00
Martine Lenders
310ed649ae
gcoap: reflect truncation with caching 2022-05-13 12:14:55 +02:00
Martine Lenders
70d0d7f624
gcoap_forward_proxy: only leave upstream validation for caching
Most of the caching operation was moved to the client code. Since the
forward proxy is using that code for upstream messaging, interacting
with the cache directly is not necessary anymore.

The only cache-related thing necessary for the proxy is validating ETags
from upstream. However, that can be done by just looking at the ETags
from the upstream response (which may or may not have come from the
cache).
2022-05-13 12:14:55 +02:00
Martine Lenders
728c7d6088
gcoap: add nanocoap_cache support for clients 2022-05-13 12:14:54 +02:00
dcf5cda260 tests/unittests/uri_parser: increase VEC_MSG_LEN
Previous value tripped ASAN. Increase to sth with room to spare.
2022-05-13 11:47:17 +02:00
Marian Buschsieweke
8c369a8d29
buildsystem: Improve RISC-V compilation handling with newer toolchain
Use -misa-spec=2.2 on newer toolchains, which allows passing the same
-march value to both the linker and the compiler even when binutils and
GCC support difference ISA specs.
2022-05-13 10:54:30 +02:00
Cenk Gündoğan
11b3121161
Merge pull request #18095 from miri64/gcoap/enh/get-req-hdr-from-memo
gcoap: add helper function to get request header from a request memo
2022-05-12 16:47:56 +02:00
Martine Lenders
cbbde07cc6
gcoap: add helper function to get request header from a request memo 2022-05-12 15:22:05 +02:00
c544625dc9
Merge pull request #18082 from MrKevinWeiss/pr/fix/cppkconfig
tests/{cpp_ext, cpp_exclude}: cleanup HAS_*
2022-05-12 15:15:12 +02:00
Cenk Gündoğan
820ca617fd
Merge pull request #17801 from miri64/gcoap_forward_proxy/enh/etag
gcoap_forward_proxy: provide cache validation mechanism
2022-05-12 14:50:12 +02:00
Martine Lenders
73bcd83543
nanocoap_cache, forward_proxy: add ETag validation support 2022-05-12 13:22:41 +02:00
Marian Buschsieweke
28336f4d17
Merge pull request #18092 from kaspar030/uri_parser_check_port_len
sys/uri_parser: check port length
2022-05-12 00:49:35 +02:00
Benjamin Valentin
b13b942e18 gnrc/ipv6_auto_subnets: allow to join multiple subnets 2022-05-12 00:44:18 +02:00
Benjamin Valentin
37159fe4d9 drivers/atwinc15x0: make use of wake pin 2022-05-12 00:29:28 +02:00
Benjamin Valentin
14121a5298 drivers/atwinc15x0: fix DEBUG() macro 2022-05-12 00:29:28 +02:00
Benjamin Valentin
71bfc3a1ca drivers/atwinc15x0: disconnect when sleeping
Don't try to re-connect when the interface is in SLEEP state.
Also disconnect before entering sleep.
2022-05-12 00:29:28 +02:00
Benjamin Valentin
aae9bb0a91 net/netopt: remove NETOPT_RX_END_IRQ 2022-05-11 23:44:24 +02:00
Benjamin Valentin
9ea5e58774 drivers: drop NETOPT_RX_END_IRQ 2022-05-11 23:44:24 +02:00
Benjamin Valentin
2384c864e2 pkg/openthread: don't set NETOPT_RX_END_IRQ 2022-05-11 23:44:24 +02:00
Benjamin Valentin
0b91660d98 pkg/lwip: don't set NETOPT_RX_END_IRQ 2022-05-11 23:44:24 +02:00
Benjamin Valentin
a5a411e99b tests/driver_at86rf2xx: don't set NETOPT_RX_END_IRQ 2022-05-11 23:44:24 +02:00
3a0e5fd775 tests/unittests: enable address sanitizer for native 2022-05-11 21:49:57 +02:00
e26ae5c981 boards/native: split out asan CFLAGS_ASAN, LINKFLAGS_ASAN 2022-05-11 21:49:27 +02:00
5c0b99a1a0 tests/unittests/tests-uri_parser: add bad port length case 2022-05-11 21:33:02 +02:00
MrKevinWeiss
149dc8069c
tests/{cpp_ext, cpp_exclude}: cleanup HAS_* 2022-05-11 21:24:50 +02:00
1f08e2e2c8 sys/uri_parser: enforce maximum port length 2022-05-11 21:15:55 +02:00
Benjamin Valentin
03a0f38cef pkg/openwsn: don't set NETOPT_RX_END_IRQ 2022-05-11 13:59:22 +02:00
Benjamin Valentin
83d7d05885 gnrc/link_layer: don't set NETOPT_RX_END_IRQ 2022-05-11 13:58:06 +02:00
Benjamin Valentin
03a669c407 gnrc_netif: remove warning about NETOPT_RX_END_IRQ 2022-05-11 13:56:47 +02:00
Martine Lenders
02fb040d9c
Merge pull request #13889 from cgundogan/pr/coca
nanocoap: cache for CoAP responses
2022-05-10 23:01:47 +02:00
Benjamin Valentin
67f9049044 tests/gnrc_netif: remove cast from test_netif_get_name() 2022-05-10 22:18:54 +02:00
8fc49b25f7 make: create cargo folders 2022-05-10 21:25:20 +02:00
Cenk Gündoğan
b4cae9d09d
nanocoap: add unittests for nanocoap-cache 2022-05-10 18:43:57 +02:00
Cenk Gündoğan
c5eb53095d
gcoap: integrate nanocoap cache 2022-05-10 18:43:57 +02:00
Cenk Gündoğan
8750605d26
nanocoap: add cache for response messages 2022-05-10 18:43:56 +02:00
Jose Alamos
869c5f37a7 link_layer/lwmac: use event queue for ISR offload 2022-05-10 17:48:43 +02:00
Jose Alamos
6040747f33 link_layer/gomach: use event queue for ISR offload 2022-05-10 17:48:43 +02:00
Jose Alamos
081dfe0e64 gnrc_netif: use event queue for ISR offload 2022-05-10 17:48:42 +02:00
Jose Alamos
38798cb877 gnrc_netif: use events instead of msg queue for ISR offload 2022-05-10 17:48:42 +02:00
Benjamin Valentin
1c1cb481da gnrc/ipv6_auto_subnets: only use prefix meant for address configuration 2022-05-10 16:41:20 +02:00
benpicco
59ec6f1ccd
Merge pull request #18076 from benpicco/tools/edbg-bump
tools/edbg: bump version
2022-05-10 10:50:29 +02:00
Marian Buschsieweke
eadd282cf4
Merge pull request #18026 from benpicco/gcoap_add_fix
gcoap: ensure response address is the same as request address
2022-05-10 10:49:56 +02:00
Marian Buschsieweke
3dad6740da
Merge pull request #17990 from benpicco/nanocoap-void
nanocoap: use void * for payload bytes
2022-05-10 10:49:05 +02:00
benpicco
3771c06914
Merge pull request #18075 from kaspar030/drop_shell_buildin_commands_define
sys/shell: drop `_builtin_cmds` define
2022-05-10 10:10:23 +02:00
7e134247cd
Merge pull request #17994 from aabadie/pr/tests/cpp_kconfig
tests/{cpp_ext, cpp_exclude}: model in kconfig
2022-05-10 09:31:32 +02:00
Benjamin Valentin
e621afb2dc gcoap: ensure response address is the same as request address
If a node has multiple addresses we must reply to a request with the
same address on which the request was received.
2022-05-10 09:24:56 +02:00
Benjamin Valentin
cc8b4f52aa grnc_sock_udp: implement SOCK_AUX_SET_LOCAL 2022-05-10 09:24:56 +02:00
Benjamin Valentin
2197f9c16a grnc_sock_ip: implement SOCK_AUX_SET_LOCAL 2022-05-10 09:24:56 +02:00
Benjamin Valentin
6e1fb4c3aa sys/net/sock: introduce SOCK_AUX_SET_LOCAL 2022-05-10 09:24:56 +02:00