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
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
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
Martine Lenders
02fb040d9c
Merge pull request #13889 from cgundogan/pr/coca
...
nanocoap: cache for CoAP responses
2022-05-10 23:01:47 +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
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
Benjamin Valentin
f11899f6bb
sys/net: add local to sock_udp_aux_tx_t
2022-05-10 09:24:56 +02:00
Benjamin Valentin
bcd58bfd10
sys/net: add local to sock_ip_aux_tx_t
2022-05-10 09:24:56 +02:00
Martine Lenders
beb65f8e53
Merge pull request #18078 from benpicco/gnrc_netif_ipv6_addrs_get
...
net/gnrc_netif: clarify documentation of gnrc_netif_ipv6_addrs_get()
2022-05-10 09:22:48 +02:00
Martine Lenders
ad1c5fb391
Merge pull request #18069 from yarrick/lwip_netif_opt
...
pkg/lwip: Add basic version of netif_get/set_opt
2022-05-10 01:36:16 +02:00
benpicco
cb1aea03a0
Merge pull request #18065 from benpicco/gnrc_sock-implicit_netif
...
gnrc_sock: implicitly set netif if there is only a single one
2022-05-10 00:16:42 +02:00
benpicco
9ab4521d43
Merge pull request #18080 from maribu/dist/tools/compile_commands
...
dist/tools/compile_commands: don't adds -nostdinc
2022-05-10 00:13:52 +02:00
Marian Buschsieweke
b42197f323
dist/tools/compile_commands: don't adds -nostdinc
...
This fixes unintended side affects on rust compilation, which currently
relies on this tool to generate appropriate flags.
2022-05-09 22:32:54 +02:00
Benjamin Valentin
79987483e4
net/gnrc_netif: clarify documentation of gnrc_netif_ipv6_addrs_get()
...
Reformulate the documentation to make it clear that this returns the
*size* of the addresses, not the number of addresses.
2022-05-09 21:46:01 +02:00
Erik Ekman
7b84b3a3f5
pkg/lwip: Add empty netif_setopt
...
To fully implement net/netif.h
2022-05-09 17:48:30 +02:00
Erik Ekman
4679d3d06e
pkg/lwip: Fall back to netdev when getting options
...
Adds support for mac address, link state and more
2022-05-09 17:48:30 +02:00
Erik Ekman
8796293c5a
pkg/lwip: Implement getting option NETOPT_IPV6_ADDR
2022-05-09 17:48:30 +02:00
Benjamin Valentin
60e59ab939
tools/edbg: bump version
...
- adds a few more SAM D/L device IDs
- add support for NXP MCU-LINK
- add support for Lattice LCMCO2
2022-05-09 15:43:00 +02:00
b8fef54724
sys/shell: drop _builtin_cmds
define
2022-05-09 15:24:34 +02:00
Martine Lenders
5496a65bb1
Merge pull request #18007 from OlegHahm/pr/release-notes-2022.04
...
Pr/release notes 2022.04
2022-05-09 13:14:23 +02:00
Marian Buschsieweke
c1b5f360b1
Merge pull request #18063 from maribu/dist/tools/compile_commands
...
dist/tools/compile_commands: fix clangd linting
2022-05-09 10:23:54 +02:00
Oleg Hahm
2f1fe3a804
release-notes.txt: add 2022.04 release notes
2022-05-08 11:39:45 +02:00
benpicco
6b0a105344
Merge pull request #18034 from laurin/arpa-inet-restrict
...
sys/posix/include/arpa: use `__restrict` instead of `restrict`
2022-05-07 17:32:04 +02:00
Laurin Wolf
550f5ea1b1
sys/posix: use __restrict instead of restrict
2022-05-07 16:10:01 +02:00
benpicco
32def76a3c
Merge pull request #17338 from benpicco/tools/zep_dispatch-mac_pin
...
tools/zep_dispatch: allow to pin nodes to MAC address
2022-05-06 21:52:13 +02:00
ebdcccbd99
Merge pull request #16899 from kaspar030/queue_msg_thread_flags_yield_v2
...
core/msg: yield after thread_flags_wake() in queue_msg()
2022-05-06 19:04:19 +02:00
Benjamin Valentin
cbd48c23aa
gnrc_sock: implicitly set netif if there is only a single one
2022-05-06 12:11:13 +02:00
35643dcd58
tests/cpp_exclude: add Kconfig support
2022-05-06 11:52:51 +02:00
7a9851b31c
tests/cpp_ext: add Kconfig support
2022-05-06 11:52:51 +02:00