ESP-IDF
TAG
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (4/5)...
Files
loading (4/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
TAG
TAG variable
Syntax
Show:
Summary
Declaration
from
httpd_parse.c:20
static
const
char
*
TAG
=
"httpd_parse"
;
Examples
References
from
examples
Code
Location
Referrer
static
const
char
*
TAG
=
"httpd_parse"
;
httpd_parse.c:20
ESP_LOGW
(
TAG
,
LOG_FMT
(
"HTTP method not supported (%d)"
)
,
r
->
method
)
;
httpd_parse.c:70
verify_url()
ESP_LOGW
(
TAG
,
LOG_FMT
(
"URI length (%"
NEWLIB_NANO_COMPAT_FORMAT
") greater than supported (%"
NEWLIB_NANO_COMPAT_FORMAT
")"
)
,
httpd_parse.c:76
verify_url()
ESP_LOGD
(
TAG
,
LOG_FMT
(
"received URI = %s"
)
,
r
->
uri
)
;
httpd_parse.c:86
verify_url()
ESP_LOGW
(
TAG
,
LOG_FMT
(
"unsupported HTTP version = %d.%d"
)
,
httpd_parse.c:90
verify_url()
ESP_LOGW
(
TAG
,
LOG_FMT
(
"http_parser_parse_url failed with errno = %d"
)
,
httpd_parse.c:100
verify_url()
ESP_LOGD
(
TAG
,
LOG_FMT
(
"message begin"
)
)
;
httpd_parse.c:117
cb_url()
ESP_LOGE
(
TAG
,
LOG_FMT
(
"unexpected state transition"
)
)
;
httpd_parse.c:124
cb_url()
ESP_LOGD
(
TAG
,
LOG_FMT
(
"processing url = %.*s"
)
,
(
int
)
length
,
at
)
;
httpd_parse.c:130
cb_url()
ESP_LOGW
(
TAG
,
LOG_FMT
(
"URI length (%"
NEWLIB_NANO_COMPAT_FORMAT
") greater than supported (%d)"
)
,
httpd_parse.c:134
cb_url()
ESP_LOGE
(
TAG
,
LOG_FMT
(
"parsing beyond valid data = %d"
)
,
(
int
)
(
-
unparsed
)
)
;
httpd_parse.c:153
pause_parsing()
ESP_LOGE
(
TAG
,
LOG_FMT
(
"data too large for un-recv = %d"
)
,
(
int
)
unparsed
)
;
httpd_parse.c:161
pause_parsing()
ESP_LOGD
(
TAG
,
LOG_FMT
(
"paused"
)
)
;
httpd_parse.c:173
pause_parsing()
ESP_LOGD
(
TAG
,
LOG_FMT
(
"skip pre-parsed data of size = %"
NEWLIB_NANO_COMPAT_FORMAT
)
,
NEWLIB_NANO_COMPAT_CAST
(
length
)
)
;
httpd_parse.c:185
continue_parsing()
ESP_LOGD
(
TAG
,
LOG_FMT
(
"un-paused"
)
)
;
httpd_parse.c:189
continue_parsing()
ESP_LOGD
(
TAG
,
LOG_FMT
(
"headers begin"
)
)
;
httpd_parse.c:212
cb_header_field()
ESP_LOGE
(
TAG
,
LOG_FMT
(
"unexpected state transition"
)
)
;
httpd_parse.c:239
cb_header_field()
ESP_LOGD
(
TAG
,
LOG_FMT
(
"processing field = %.*s"
)
,
(
int
)
length
,
at
)
;
httpd_parse.c:245
cb_header_field()
ESP_LOGE
(
TAG
,
LOG_FMT
(
"unexpected state transition"
)
)
;
httpd_parse.c:283
cb_header_value()
ESP_LOGD
(
TAG
,
LOG_FMT
(
"processing value = %.*s"
)
,
(
int
)
length
,
at
)
;
httpd_parse.c:289
cb_header_value()
ESP_LOGD
(
TAG
,
LOG_FMT
(
"no headers"
)
)
;
httpd_parse.c:307
cb_headers_complete()
ESP_LOGE
(
TAG
,
LOG_FMT
(
"invalid length of data remaining to be parsed"
)
)
;
httpd_parse.c:323
cb_headers_complete()
ESP_LOGE
(
TAG
,
LOG_FMT
(
"incomplete termination of headers"
)
)
;
httpd_parse.c:347
cb_headers_complete()
ESP_LOGE
(
TAG
,
LOG_FMT
(
"unexpected state transition"
)
)
;
httpd_parse.c:359
cb_headers_complete()
ESP_LOGD
(
TAG
,
LOG_FMT
(
"bytes read = %"
PRId32
""
)
,
parser
->
nread
)
;
httpd_parse.c:369
cb_headers_complete()
ESP_LOGD
(
TAG
,
LOG_FMT
(
"content length = %"
NEWLIB_NANO_COMPAT_FORMAT
)
,
NEWLIB_NANO_COMPAT_CAST
(
r
->
content_len
)
)
;
httpd_parse.c:370
cb_headers_complete()
ESP_LOGD
(
TAG
,
LOG_FMT
(
"Got an upgrade request"
)
)
;
httpd_parse.c:375
cb_headers_complete()
ESP_LOGW
(
TAG
,
LOG_FMT
(
"Upgrade header does not match the length of \"websocket\""
)
)
;
httpd_parse.c:380
cb_headers_complete()
ESP_LOGW
(
TAG
,
LOG_FMT
(
"Upgrade header found but it's %s"
)
,
ws_upgrade_hdr_val
)
;
httpd_parse.c:388
cb_headers_complete()
ESP_LOGD
(
TAG
,
LOG_FMT
(
"WS functions has been disabled, Upgrade request is not supported."
)
)
;
httpd_parse.c:397
cb_headers_complete()
ESP_LOGE
(
TAG
,
LOG_FMT
(
"unexpected state transition"
)
)
;
httpd_parse.c:419
cb_on_body()
ESP_LOGD
(
TAG
,
LOG_FMT
(
"body begins"
)
)
;
httpd_parse.c:438
cb_on_body()
ESP_LOGD
(
TAG
,
LOG_FMT
(
"no headers"
)
)
;
httpd_parse.c:451
cb_no_body()
ESP_LOGE
(
TAG
,
LOG_FMT
(
"unexpected state transition"
)
)
;
httpd_parse.c:460
cb_no_body()
ESP_LOGD
(
TAG
,
LOG_FMT
(
"message complete"
)
)
;
httpd_parse.c:479
cb_no_body()
ESP_LOGD
(
TAG
,
LOG_FMT
(
"error in httpd_recv"
)
)
;
httpd_parse.c:498
read_block()
ESP_LOGD
(
TAG
,
LOG_FMT
(
"connection closed"
)
)
;
httpd_parse.c:514
read_block()
ESP_LOGD
(
TAG
,
LOG_FMT
(
"received HTTP request block size = %d"
)
,
nbytes
)
;
httpd_parse.c:520
read_block()
ESP_LOGW
(
TAG
,
LOG_FMT
(
"request URI/header too long"
)
)
;
httpd_parse.c:536
parse_block()
ESP_LOGE
(
TAG
,
LOG_FMT
(
"unexpected state"
)
)
;
httpd_parse.c:546
parse_block()
ESP_LOGW
(
TAG
,
LOG_FMT
(
"parsing failed"
)
)
;
httpd_parse.c:572
parse_block()
ESP_LOGW
(
TAG
,
LOG_FMT
(
"incomplete (%"
NEWLIB_NANO_COMPAT_FORMAT
"/%"
NEWLIB_NANO_COMPAT_FORMAT
") with parser error = %d"
)
,
httpd_parse.c:586
parse_block()
ESP_LOGD
(
TAG
,
LOG_FMT
(
"parsed block size = %"
NEWLIB_NANO_COMPAT_FORMAT
)
,
NEWLIB_NANO_COMPAT_CAST
(
(
offset
+
nparsed
)
)
)
;
httpd_parse.c:593
parse_block()
ESP_LOGD
(
TAG
,
LOG_FMT
(
"parsing complete"
)
)
;
httpd_parse.c:662
httpd_parse_req()
ESP_LOGD
(
TAG
,
LOG_FMT
(
"Try closing WS connection at FD: %d"
)
,
ra
->
sd
->
fd
)
;
httpd_parse.c:707
httpd_req_cleanup()
ESP_LOGD
(
TAG
,
LOG_FMT
(
"New request, has WS? %s, sd->ws_handler valid? %s, sd->ws_close? %s"
)
,
httpd_parse.c:755
httpd_req_new()
ESP_LOGD
(
TAG
,
LOG_FMT
(
"WS was marked close"
)
)
;
httpd_parse.c:762
httpd_req_new()
ESP_LOGD
(
TAG
,
LOG_FMT
(
"New WS request from existing socket, ws_type=%d"
)
,
ra
->
ws_type
)
;
httpd_parse.c:767
httpd_req_new()
ESP_LOGD
(
TAG
,
LOG_FMT
(
"Received PONG frame"
)
)
;
httpd_parse.c:774
httpd_req_new()
ESP_LOGD
(
TAG
,
LOG_FMT
(
"purging data size : %d bytes"
)
,
recv_len
)
;
httpd_parse.c:817
httpd_req_delete()
ESP_LOGD
(
TAG
,
LOG_FMT
(
"key %s not found"
)
,
key
)
;
httpd_parse.c:905
httpd_query_key_value()
ESP_LOGD
(
TAG
,
"uri is empty"
)
;
httpd_parse.c:920
httpd_req_get_url_query_len()
ESP_LOGD
(
TAG
,
"uri is empty"
)
;
httpd_parse.c:945
httpd_req_get_url_query_str()
ESP_LOGD
(
TAG
,
LOG_FMT
(
"cookie %s not found"
)
,
key
)
;
httpd_parse.c:1148
httpd_cookie_key_value()
ESP_LOGE
(
TAG
,
"Failed to allocate memory for cookie string"
)
;
httpd_parse.c:1164
httpd_req_get_cookie_val()
ESP_LOGW
(
TAG
,
"Cookie not found in header uri:[%s]"
,
req
->
uri
)
;
httpd_parse.c:1169
httpd_req_get_cookie_val()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
TAG
is read by 20 functions:
All items filtered out
TAG
verify_url()
cb_url()
pause_parsing()
continue_parsing()
cb_header_field()
cb_header_value()
cb_headers_complete()
cb_on_body()
cb_no_body()
read_block()
parse_block()
httpd_parse_req()
httpd_req_cleanup()
httpd_req_new()
httpd_req_delete()
httpd_query_key_value()
httpd_req_get_url_query_len()
httpd_req_get_url_query_str()
httpd_cookie_key_value()
httpd_req_get_cookie_val()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out