mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-25 08:31:04 +03:00
session, pdu: Enforce maximum message size.
This commit is contained in:
1 parent
c592c9d11f
commit
f81cb43fd3
8 files changed
+26
-32
No files matched your search
@@ -321,7 +321,7 @@ t_error_response8(void) {
|
||||
|
||||
static int
|
||||
t_error_response_tests_create(void) {
|
||||
pdu = coap_pdu_init(0, 0, 0, COAP_PDU_SIZE_DYNAMIC);
|
||||
pdu = coap_pdu_init(0, 0, 0, COAP_DEFAULT_MTU);
|
||||
|
||||
return pdu == NULL;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user