Fix deleting request on slow response 85/196285/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:43:33 +0000 (09:13 +0530)
commit325fe3d4a48485d887ae4fa89c45b6d4a9667c07
tree7fca1095f417422d33f0399174de0461b17f43ce
parent297f51643489307096c39d41c40373d38ab0ae94
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