Fix deleting request on slow response 90/196290/1
authorHarish Kumara M <h.marappa@samsung.com>
Wed, 26 Dec 2018 11:56:34 +0000 (17:26 +0530)
committerAmit KS <amit.s12@samsung.com>
Thu, 27 Dec 2018 03:49:34 +0000 (09:19 +0530)
commit139fd34def5fcec9238ca7210d22929a884e02eb
tree9a8b85bcffcbcbe2ba11da397bbcd20ac902d34e
parent278e1e602f607aaa202f94468c234014f2651a86
Fix deleting request on slow response

Server request is getting deleted when observe request
received again with same previous request token even
the new server request is not being added to sever request
list. Duplicate requests with same token are expected when
when ACK for the first request is not reached at client side.

https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/383
(cherry picked from commit f6dfbd5194a482f2611a7b23c904dd4f7533c809)

Change-Id: I97968ae99a0abca39eb1bbe860cbfe73f684a738
Signed-off-by: Harish Kumara M <h.marappa@samsung.com>
Signed-off-by: Amit KS <amit.s12@samsung.com>
resource/csdk/stack/src/ocresource.c