mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-01 07:25:47 +03:00
Extend coap_option_check_critical() for repeating options that are not repeatable, so 4.02 error code can be returned. https://www.rfc-editor.org/rfc/rfc7252#section-5.4.5 Check for option Proxy-Scheme and return 4.02 if option Uri-Host is not present. Clear M bit for option Block2 in a request as it must be ingnored on reception. https://datatracker.ietf.org/doc/html/rfc7959#section-2.2 check_repeatable() now is coap_option_check_repeatable() (still internal).