forked from espressif/esp-idf
Added check to check whether the value of cur_cookie_session_id is -1 or not, if yes the return with error log message
Added check to check whether the value of cur_cookie_session_id is -1 or not, if yes the return with error log message