zephyr/subsys/net/lib
Michael Scott 4c58ffb5ab net: lwm2m: dont release reply for duplicate block transfer
During normal use, a CoAP packet can be resent due to network congestion
and other causes.  During block transfer the LwM2M client checks to make
sure the block received is the one we expect and if not generates a
"duplicate" warning.  When this happened, we were releasing the reply
handler and when the correct block was received the client would
generate a "No handler" error.

To avoid releasing the reply handler too early, let's set the coap_reply
"user_data" field to an error condition (1).  Then, once the reply
processing is complete we can check the user_data field to be sure that
it's ok to release the reply handler.

Signed-off-by: Michael Scott <michael@opensourcefoundries.com>
2018-05-25 17:19:34 -04:00
..
app net: Too long timeout was passed to k_sleep 2018-05-22 08:55:27 -04:00
coap net: coap: Fix CoAP observer helper function 2018-05-22 08:54:54 -04:00
dns net: dns: Fix end-of-results callback on error 2018-04-03 14:14:00 +03:00
http net: websocket: Initial support for server websocket 2018-03-15 15:17:36 +02:00
lwm2m net: lwm2m: dont release reply for duplicate block transfer 2018-05-25 17:19:34 -04:00
mqtt kconfig: fix help syntax and add spaces 2017-12-13 17:43:28 -06:00
openthread net: openthread: Add function for getting current radio channel 2018-05-18 15:09:53 +03:00
sntp kconfig: fix help syntax and add spaces 2017-12-13 17:43:28 -06:00
sockets net: sockets: Check for errors from dns_get_addr_info 2018-04-03 14:15:43 +03:00
websocket net: websocket: Revise generation of Sec-WebSocket-Accept header 2018-05-14 08:16:46 +03:00
CMakeLists.txt net: websocket: Initial support for server websocket 2018-03-15 15:17:36 +02:00
Kconfig net: websocket: Initial support for server websocket 2018-03-15 15:17:36 +02:00