mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-06 01:42:53 +03:00
src/net.c: Add in a sanity check that the PDU length is not more that the negotiated CSM size for incoming data. Track CSM remote supports block transfer. Do not allow Block options if CSM has not negotiated block transfer. src/coap_session.c: Include block-wise-transfer is supported in the CSM include/coap2/coap_session.h: Make MTU size bigger than 32 bits as CSM mtu size can be greater than 32 bits. Track CSM remote supports block transfer. include/coap2/pdu.h: Make COAP_DEFAULT_MAX_PDU_RX_SIZE a unsigned long to be bigger than 32 bits.