Home
last modified time | relevance | path

Searched refs:LOG_FMT (Results 1 – 7 of 7) sorted by relevance

/hal_espressif-2.7.6/components/esp_http_server/src/
Dhttpd_ws.c95 ESP_LOGW(TAG, LOG_FMT("Argument is invalid")); in httpd_ws_respond_server_handshake()
102 ESP_LOGW(TAG, LOG_FMT("State is invalid - Handshake has been performed")); in httpd_ws_respond_server_handshake()
109 ESP_LOGW(TAG, LOG_FMT("\"Sec-WebSocket-Version\" is not found")); in httpd_ws_respond_server_handshake()
116 ESP_LOGW(TAG, LOG_FMT("\"Sec-WebSocket-Version\" is not \"13\", it is: %s"), version_val); in httpd_ws_respond_server_handshake()
124 ESP_LOGW(TAG, LOG_FMT("Cannot find client key")); in httpd_ws_respond_server_handshake()
136 ESP_LOGD(TAG, LOG_FMT("Server key before encoding: %s"), server_raw_text); in httpd_ws_respond_server_handshake()
146 ESP_LOGD(TAG, LOG_FMT("Generated server key: %s"), server_key_encoded); in httpd_ws_respond_server_handshake()
163 ESP_LOGW(TAG, LOG_FMT("Failed to prepare Tx buffer")); in httpd_ws_respond_server_handshake()
200 ESP_LOGW(TAG, LOG_FMT("Failed to send the response")); in httpd_ws_respond_server_handshake()
211 ESP_LOGW(TAG, LOG_FMT("Argument is null")); in httpd_ws_check_req()
[all …]
Dhttpd_main.c49 ESP_LOGW(TAG, LOG_FMT("error in accept (%d)"), errno); in httpd_accept_conn()
52 ESP_LOGD(TAG, LOG_FMT("newfd = %d"), new_fd); in httpd_accept_conn()
66 ESP_LOGW(TAG, LOG_FMT("session creation failed")); in httpd_accept_conn()
70 ESP_LOGD(TAG, LOG_FMT("complete")); in httpd_accept_conn()
98 ESP_LOGW(TAG, LOG_FMT("failed to queue work")); in httpd_queue_work()
139 ESP_LOGD(TAG, LOG_FMT("cleaning up socket %d"), fd); in httpd_close_all_sessions()
150 ESP_LOGW(TAG, LOG_FMT("error in recv (%d)"), errno); in httpd_process_ctrl_msg()
154 ESP_LOGW(TAG, LOG_FMT("incomplete msg")); in httpd_process_ctrl_msg()
161 ESP_LOGD(TAG, LOG_FMT("work")); in httpd_process_ctrl_msg()
166 ESP_LOGD(TAG, LOG_FMT("shutdown")); in httpd_process_ctrl_msg()
[all …]
Dhttpd_parse.c75 ESP_LOGW(TAG, LOG_FMT("HTTP Operation not supported")); in verify_url()
81 ESP_LOGW(TAG, LOG_FMT("URI length (%d) greater than supported (%d)"), in verify_url()
91 ESP_LOGD(TAG, LOG_FMT("received URI = %s"), r->uri); in verify_url()
95 ESP_LOGW(TAG, LOG_FMT("unsupported HTTP version = %d.%d"), in verify_url()
105 ESP_LOGW(TAG, LOG_FMT("http_parser_parse_url failed with errno = %d"), in verify_url()
122 ESP_LOGD(TAG, LOG_FMT("message begin")); in cb_url()
129 ESP_LOGE(TAG, LOG_FMT("unexpected state transition")); in cb_url()
135 ESP_LOGD(TAG, LOG_FMT("processing url = %.*s"), length, at); in cb_url()
139 ESP_LOGW(TAG, LOG_FMT("URI length (%d) greater than supported (%d)"), in cb_url()
158 ESP_LOGE(TAG, LOG_FMT("parsing beyond valid data = %d"), -unparsed); in pause_parsing()
[all …]
Dhttpd_uri.c106 ESP_LOGD(TAG, LOG_FMT("[%d] = %s"), i, hd->hd_calls[i]->uri); in httpd_find_uri_handler()
150 ESP_LOGW(TAG, LOG_FMT("handler %s with method %d already registered"), in httpd_register_uri_handler()
184 ESP_LOGD(TAG, LOG_FMT("[%d] installed %s"), i, uri_handler->uri); in httpd_register_uri_handler()
187 ESP_LOGD(TAG, LOG_FMT("[%d] exists %s"), i, hd->hd_calls[i]->uri); in httpd_register_uri_handler()
189 ESP_LOGW(TAG, LOG_FMT("no slots left for registering handler")); in httpd_register_uri_handler()
207 ESP_LOGD(TAG, LOG_FMT("[%d] removing %s"), i, hd->hd_calls[i]->uri); in httpd_unregister_uri_handler()
226 ESP_LOGW(TAG, LOG_FMT("handler %s with method %d not found"), uri, method); in httpd_unregister_uri_handler()
245 ESP_LOGD(TAG, LOG_FMT("[%d] removing %s"), i, uri); in httpd_unregister_uri()
265 ESP_LOGW(TAG, LOG_FMT("no handler found for URI %s"), uri); in httpd_unregister_uri()
276 ESP_LOGD(TAG, LOG_FMT("[%d] removing %s"), i, hd->hd_calls[i]->uri); in httpd_unregister_all_uri_handlers()
[all …]
Dhttpd_txrx.c68 ESP_LOGD(TAG, LOG_FMT("error in send_fn")); in httpd_send()
82 ESP_LOGD(TAG, LOG_FMT("error in send_fn")); in httpd_send_all()
85 ESP_LOGD(TAG, LOG_FMT("sent = %d"), ret); in httpd_send_all()
107 ESP_LOGD(TAG, LOG_FMT("requested length = %d"), buf_len); in httpd_recv_with_opt()
114 ESP_LOGD(TAG, LOG_FMT("pending length = %d"), ra->sd->pending_len); in httpd_recv_with_opt()
130 ESP_LOGD(TAG, LOG_FMT("error in recv_fn")); in httpd_recv_with_opt()
143 ESP_LOGD(TAG, LOG_FMT("received length = %d"), ret + pending_len); in httpd_recv_with_opt()
162 ESP_LOGD(TAG, LOG_FMT("length = %d"), ra->sd->pending_len); in httpd_unrecv()
193 ESP_LOGD(TAG, LOG_FMT("new header = %s: %s"), field, value); in httpd_resp_set_hdr()
442 ESP_LOGW(TAG, LOG_FMT("%s - %s"), status, msg); in httpd_resp_send_err()
[all …]
Dhttpd_sess.c61 ESP_LOGD(TAG, LOG_FMT("fd = %d"), newfd); in httpd_sess_new()
64 ESP_LOGE(TAG, LOG_FMT("session already exists with fd = %d"), newfd); in httpd_sess_new()
82 ESP_LOGD(TAG, LOG_FMT("open_fn failed for fd = %d"), newfd); in httpd_sess_new()
89 ESP_LOGD(TAG, LOG_FMT("unable to launch session for fd = %d"), newfd); in httpd_sess_new()
212 ESP_LOGW(TAG, LOG_FMT("Closing invalid socket %d"), hd->hd_sd[i].fd); in httpd_sess_delete_invalid()
220 ESP_LOGD(TAG, LOG_FMT("fd = %d"), fd); in httpd_sess_delete()
303 ESP_LOGD(TAG, LOG_FMT("httpd_req_new")); in httpd_sess_process()
307 ESP_LOGD(TAG, LOG_FMT("httpd_req_delete")); in httpd_sess_process()
311 ESP_LOGD(TAG, LOG_FMT("success")); in httpd_sess_process()
352 ESP_LOGD(TAG, LOG_FMT("fd = %d"), lru_fd); in httpd_sess_close_lru()
Desp_httpd_priv.h42 #define LOG_FMT(x) "%s: " x, __func__ macro