Improve Buffer Size in occoaphelper
authoromkar <omkar.m.hegde@intel.com>
Wed, 10 Dec 2014 00:57:23 +0000 (16:57 -0800)
committeromkar <omkar.m.hegde@intel.com>
Mon, 15 Dec 2014 16:41:57 +0000 (08:41 -0800)
commitdbb261cce4090c5cb802fee7433a09964951ef94
tree6e82de44398072880d5ba3f639c61983b072bccd
parentaa7cfd4ed2f47f91e978866d98487c68725f8c69
Improve Buffer Size in occoaphelper

Previously, we had the BUF_SIZE set at 64. Changing it to be the
greater of MAX_URI_LENGTH and MAX_QUERY_LENGTH. So, if max length
needs to change, we need to change it only in ocstackconfig.

Change-Id: I18aeca83f82932896424d38389a872b581859860
Signed-off-by: omkar <omkar.m.hegde@intel.com>
resource/csdk/occoap/include/occoaphelper.h
resource/csdk/occoap/src/occoaphelper.c