Allow empty token usage.
authorStephane Lejeune <stlejeun@cisco.com>
Mon, 19 Oct 2015 14:25:29 +0000 (16:25 +0200)
committerJon A. Cruz <jonc@osg.samsung.com>
Wed, 13 Jan 2016 07:42:00 +0000 (07:42 +0000)
commitd229f5aa5708813977a6d5cb4e22ab02089e118c
tree2b169dbebe7d533af6f4b8b5a80e5403ec910e9b
parente25f986586c3e4bf25a98999810d803b4efbba1d
Allow empty token usage.

RFC7252: An empty token value is appropriate e.g., when
no other tokens are in use to a destination, or when requests are
made serially per destination and receive piggybacked responses.

Empty tokens are often used by clients in order to have more compact
messages.

Change-Id: I2b409159a225f06ba80130547ffc9d5cabfee298
Signed-off-by: Stephane Lejeune <stlejeun@cisco.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/3911
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Jon A. Cruz <jonc@osg.samsung.com>
resource/csdk/stack/src/ocstack.c