Skip /introspection resource in secure stack sample
Change-Id: I36dd6718ba57d0712b22a147e3a7d2c638fe1c92
Signed-off-by: Dmitriy Zhuravlev <d.zhuravlev@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/20199
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
coapServerResource.assign(res->uri);
OIC_LOG_V(INFO, TAG, "Uri -- %s", coapServerResource.c_str());
- if (0 == strncmp(coapServerResource.c_str(), OIC_STD_URI_PREFIX, strlen(OIC_STD_URI_PREFIX)))
+ if (0 == strncmp(coapServerResource.c_str(), OIC_STD_URI_PREFIX, strlen(OIC_STD_URI_PREFIX)) ||
+ 0 == strncmp(coapServerResource.c_str(), "/introspection", strlen("/introspection")))
{
OIC_LOG(INFO, TAG, "Skip resource");
res = res->next;