Commit Graph
9 Commits
Author SHA1 Message Date
Olaf Bergmann abf33c87f9 fixed bug #3526909 (Wrong unit conversion) pointed out by jsucaet
Applied patch provided by jsucaet.
2012-05-29 19:54:36 +02:00
Olaf Bergmann 28a6d45cde fixed bug #3524612 (Double free error when coap_send returns COAP_INVALID_TID)
From jsucaet's error description (Credits to Marc Haesen for revealing this bug):
The intent of the current code of coap_send is to release the allocated
memory upon success and not to release when an error has occured. However
this is broken (returning from coap_send with an error and a deallocated
pdu ptr is possible).
In the patch, I propose to let the calling function (of coap_send) be
responsible for free'ing the allocated pointer.
2012-05-29 19:41:22 +02:00
Olaf Bergmann b530c25eb9 DELETE 2012-03-07 21:46:12 +01:00
Olaf Bergmann 8543ef7c4f fixes for new API
Caution: this code is not yet tested thoroughly
2012-03-07 20:16:22 +01:00
Olaf Bergmann e91ed05d74 Update resource descriptions with PUT 2011-10-01 02:01:40 +02:00
Olaf Bergmann bb5a071aa8 tore etag 2011-10-01 00:20:36 +02:00
Olaf Bergmann 5041547e1c store resource descriptions from POST payload 2011-10-01 00:11:17 +02:00
Olaf Bergmann 8856592ec1 create resources on POST; stub handlers for GET, working DELETE 2011-09-30 18:42:49 +02:00
Olaf Bergmann e6ef4a0ddc CoRE Resource Directory
see http://tools.ietf.org/id/draft-shelby-core-resource-directory
2011-09-29 15:19:22 +02:00