mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-22 23:35:13 +03:00
Fix for the signedness warning with gcc.
Compact coap_address_t. Use coap_queue_t for all queues. OpenSSL warning for close alert should be info level. Fix OpenSSL log level not working. Use the application defined MTU in OpenSSL. coap_log() optimization to avoid generating the log message text before testing the log level. coap_can_exit() should check the new retransmit queues. Fix retransmit time sometimes not correctly computed relative to sendqueue_basetime. Add coap_write() API call for applications with their own main loop.
This commit is contained in:
1 parent
4d4f3ba54f
commit
7fb4ace2b7
15 files changed
+407
-288
No files matched your search
@@ -704,6 +704,7 @@ main(int argc, char **argv) {
|
||||
}
|
||||
|
||||
coap_startup();
|
||||
coap_dtls_set_log_level(log_level);
|
||||
coap_set_log_level(log_level);
|
||||
|
||||
ctx = get_context(addr_str, port_str);
|
||||
|
||||
@@ -519,6 +519,7 @@ main(int argc, char **argv) {
|
||||
}
|
||||
|
||||
coap_startup();
|
||||
coap_dtls_set_log_level(log_level);
|
||||
coap_set_log_level(log_level);
|
||||
|
||||
ctx = get_context(addr_str, port_str);
|
||||
|
||||
Reference in new issue
Block a user