kb2ma / RIOT

RIOT - The friendly OS for IoT
https://github.com/RIOT-OS/RIOT/wiki
Other
0 stars 0 forks source link

Add handler state when response too big #10

Closed kb2ma closed 8 years ago

kb2ma commented 8 years ago

In _receive we trap a response that is too big for the buffer, and notify the user with debug output. It would be more informative to add a state to the request memo to indicate the nature of the failure. For example, use GCOAP_MEMO_RESP_ERR.

kb2ma commented 8 years ago

Fixed in commit 32bbbe7.