forked from espressif/esp-idf
coap client parse a string by `coap_split_uri`,fetch host should by `host.length` otherwise, would cause `gethostbyname` failed because of inappropriate parameter.
coap client parse a string by `coap_split_uri`,fetch host should by `host.length` otherwise, would cause `gethostbyname` failed because of inappropriate parameter.