[IOT-1413,IOT-1415] Fixed request handling bugs for /oic/ping resource
authorhyuna0213.jo <hyuna0213.jo@samsung.com>
Tue, 11 Oct 2016 06:41:47 +0000 (15:41 +0900)
committerAshok Babu Channa <ashok.channa@samsung.com>
Wed, 26 Oct 2016 05:32:04 +0000 (05:32 +0000)
commit63513fd9998981fd4959a1f06f767ca280146149
tree566e378931fc352a0bb8412783bf46de71ca222d
parent50a366843b3850ecde0cdecc3e2b7fa5f1230158
[IOT-1413,IOT-1415] Fixed request handling bugs for /oic/ping resource

- /oic/ping resource is responding with 5.00(internal server error)
when it receives a GET/POST/PUT request with baseline query
- /oic/ping resource is successfully registering and deregistering
observe requests, even though it is shown as non observable resource
in discovery response.

Change-Id: I86db52f17b0b42750906fdfa8b377c78a85ef822
Signed-off-by: hyuna0213.jo <hyuna0213.jo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/13089
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jaehong Jo <jaehong.jo@samsung.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
(cherry picked from commit 41e04322a0b5684ed05e3b7968f44fc172a664a6)
Reviewed-on: https://gerrit.iotivity.org/gerrit/13223
Reviewed-by: jihwan seo <jihwan.seo@samsung.com>
resource/csdk/stack/include/internal/ocresourcehandler.h
resource/csdk/stack/include/internal/ocstackinternal.h
resource/csdk/stack/include/internal/oickeepalive.h
resource/csdk/stack/include/octypes.h
resource/csdk/stack/src/ocresource.c
resource/csdk/stack/src/ocstack.c
resource/csdk/stack/src/oickeepalive.c