[I0T-1159] Resolved twice response issue
authorRandeep Singh <randeep.s@samsung.com>
Tue, 26 Jul 2016 04:42:28 +0000 (10:12 +0530)
committerRandeep Singh <randeep.s@samsung.com>
Wed, 27 Jul 2016 04:05:40 +0000 (04:05 +0000)
commit45e8a5794a803384c84e27865fa456b2af910555
tree233d422b954a36b96ff731f7237de1e1c7ef046a
parente1dc057b59408d7188487eceb6956a5d30a78458
[I0T-1159] Resolved twice response issue

Issue : The server is responding with both 4.00(ACK) & 5.00(CON) error message
Solution : If SendSRMResponse succeed, return OC_EH_OK to OCStack

Patch1: Init
Patch2: Apply review comment
Patch3: Change file mode

Change-Id: I70e2b3e0a703cd137a9244097e128b3ecbed5c77
Signed-off-by: js126.lee <js126.lee@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/9251
Reviewed-by: Chul Lee <chuls.lee@samsung.com>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
Tested-by: Randeep Singh <randeep.s@samsung.com>
(cherry picked from commit 8e2f191ccbb06920d2a0aea2d10629f6e106075e)
Signed-off-by: Randeep Singh <randeep.s@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/9315
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: dongik Lee <dongik.lee@samsung.com>
resource/csdk/security/src/aclresource.c
resource/csdk/security/src/credresource.c
resource/csdk/security/src/doxmresource.c
resource/csdk/security/src/pstatresource.c