Added error check code for Reset with no empty message.
authorjihwan.seo <jihwan.seo@samsung.com>
Wed, 14 Oct 2015 05:09:54 +0000 (14:09 +0900)
committerJon A. Cruz <jonc@osg.samsung.com>
Tue, 24 Nov 2015 06:27:18 +0000 (06:27 +0000)
commit9c25a43b49586baab931f56246dae1080c8372b0
treefbb50913ba59fcc86263474d7662ae3515fbf261
parent9aeef1a04ae5331dc5068ac48eb8df8ec1673577
Added error check code for Reset with no empty message.

Reset must be empty message by spec rfc 7252.
both receiver and sender applied to check
whether reset has empty message or not.

Change-Id: I0aaeec22bbeda1ffd893e488f74450eb31b742ae
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/3873
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jonc@osg.samsung.com>
resource/csdk/connectivity/src/caprotocolmessage.c
resource/csdk/connectivity/src/caretransmission.c