Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/esp_http_server/src/
Dhttpd_main.c46 ESP_LOGW(TAG, LOG_FMT("error in accept (%d)"), errno); in httpd_accept_conn()
49 ESP_LOGD(TAG, LOG_FMT("newfd = %d"), new_fd); in httpd_accept_conn()
63 ESP_LOGW(TAG, LOG_FMT("session creation failed")); in httpd_accept_conn()
67 ESP_LOGD(TAG, LOG_FMT("complete")); in httpd_accept_conn()
95 ESP_LOGW(TAG, LOG_FMT("failed to queue work")); in httpd_queue_work()
138 ESP_LOGW(TAG, LOG_FMT("error in recv (%d)"), errno); in httpd_process_ctrl_msg()
142 ESP_LOGW(TAG, LOG_FMT("incomplete msg")); in httpd_process_ctrl_msg()
149 ESP_LOGD(TAG, LOG_FMT("work")); in httpd_process_ctrl_msg()
154 ESP_LOGD(TAG, LOG_FMT("shutdown")); in httpd_process_ctrl_msg()
177 ESP_LOGD(TAG, LOG_FMT("processing socket %d"), fd); in httpd_process_session()
[all …]
Dhttpd_ws.c101 ESP_LOGW(TAG, LOG_FMT("Argument is invalid")); in httpd_ws_respond_server_handshake()
108 ESP_LOGW(TAG, LOG_FMT("State is invalid - Handshake has been performed")); in httpd_ws_respond_server_handshake()
115 ESP_LOGW(TAG, LOG_FMT("\"Sec-WebSocket-Version\" is not found")); in httpd_ws_respond_server_handshake()
122 ESP_LOGW(TAG, LOG_FMT("\"Sec-WebSocket-Version\" is not \"13\", it is: %s"), version_val); in httpd_ws_respond_server_handshake()
130 ESP_LOGW(TAG, LOG_FMT("Cannot find client key")); in httpd_ws_respond_server_handshake()
142 ESP_LOGD(TAG, LOG_FMT("Server key before encoding: %s"), server_raw_text); in httpd_ws_respond_server_handshake()
152 ESP_LOGD(TAG, LOG_FMT("Generated server key: %s"), server_key_encoded); in httpd_ws_respond_server_handshake()
169 ESP_LOGW(TAG, LOG_FMT("Failed to prepare Tx buffer")); in httpd_ws_respond_server_handshake()
206 ESP_LOGW(TAG, LOG_FMT("Failed to send the response")); in httpd_ws_respond_server_handshake()
217 ESP_LOGW(TAG, LOG_FMT("Argument is null")); in httpd_ws_check_req()
[all …]
Dhttpd_parse.c67 ESP_LOGW(TAG, LOG_FMT("HTTP Operation not supported")); in verify_url()
73 ESP_LOGW(TAG, LOG_FMT("URI length (%d) greater than supported (%d)"), in verify_url()
83 ESP_LOGD(TAG, LOG_FMT("received URI = %s"), r->uri); in verify_url()
87 ESP_LOGW(TAG, LOG_FMT("unsupported HTTP version = %d.%d"), in verify_url()
97 ESP_LOGW(TAG, LOG_FMT("http_parser_parse_url failed with errno = %d"), in verify_url()
114 ESP_LOGD(TAG, LOG_FMT("message begin")); in cb_url()
121 ESP_LOGE(TAG, LOG_FMT("unexpected state transition")); in cb_url()
127 ESP_LOGD(TAG, LOG_FMT("processing url = %.*s"), length, at); in cb_url()
131 ESP_LOGW(TAG, LOG_FMT("URI length (%d) greater than supported (%d)"), in cb_url()
150 ESP_LOGE(TAG, LOG_FMT("parsing beyond valid data = %d"), -unparsed); in pause_parsing()
[all …]
Dhttpd_uri.c98 ESP_LOGD(TAG, LOG_FMT("[%d] = %s"), i, hd->hd_calls[i]->uri); in httpd_find_uri_handler()
142 ESP_LOGW(TAG, LOG_FMT("handler %s with method %d already registered"), in httpd_register_uri_handler()
176 ESP_LOGD(TAG, LOG_FMT("[%d] installed %s"), i, uri_handler->uri); in httpd_register_uri_handler()
179 ESP_LOGD(TAG, LOG_FMT("[%d] exists %s"), i, hd->hd_calls[i]->uri); in httpd_register_uri_handler()
181 ESP_LOGW(TAG, LOG_FMT("no slots left for registering handler")); in httpd_register_uri_handler()
199 ESP_LOGD(TAG, LOG_FMT("[%d] removing %s"), i, hd->hd_calls[i]->uri); in httpd_unregister_uri_handler()
218 ESP_LOGW(TAG, LOG_FMT("handler %s with method %d not found"), uri, method); in httpd_unregister_uri_handler()
237 ESP_LOGD(TAG, LOG_FMT("[%d] removing %s"), i, uri); in httpd_unregister_uri()
257 ESP_LOGW(TAG, LOG_FMT("no handler found for URI %s"), uri); in httpd_unregister_uri()
268 ESP_LOGD(TAG, LOG_FMT("[%d] removing %s"), i, hd->hd_calls[i]->uri); in httpd_unregister_all_uri_handlers()
[all …]
Dhttpd_txrx.c60 ESP_LOGD(TAG, LOG_FMT("error in send_fn")); in httpd_send()
74 ESP_LOGD(TAG, LOG_FMT("error in send_fn")); in httpd_send_all()
77 ESP_LOGD(TAG, LOG_FMT("sent = %d"), ret); in httpd_send_all()
99 ESP_LOGD(TAG, LOG_FMT("requested length = %d"), buf_len); in httpd_recv_with_opt()
106 ESP_LOGD(TAG, LOG_FMT("pending length = %d"), ra->sd->pending_len); in httpd_recv_with_opt()
122 ESP_LOGD(TAG, LOG_FMT("error in recv_fn")); in httpd_recv_with_opt()
135 ESP_LOGD(TAG, LOG_FMT("received length = %d"), ret + pending_len); in httpd_recv_with_opt()
154 ESP_LOGD(TAG, LOG_FMT("length = %d"), ra->sd->pending_len); in httpd_unrecv()
185 ESP_LOGD(TAG, LOG_FMT("new header = %s: %s"), field, value); in httpd_resp_set_hdr()
434 ESP_LOGW(TAG, LOG_FMT("%s - %s"), status, msg); in httpd_resp_send_err()
[all …]
Dhttpd_sess.c100 ESP_LOGW(TAG, LOG_FMT("Closing invalid socket %d"), session->fd); in enum_function()
118 ESP_LOGD(TAG, LOG_FMT("cleaning up socket %d"), session->fd); in enum_function()
187 ESP_LOGD(TAG, LOG_FMT("fd = %d"), newfd); in httpd_sess_new()
190 ESP_LOGE(TAG, LOG_FMT("session already exists with fd = %d"), newfd); in httpd_sess_new()
196 ESP_LOGD(TAG, LOG_FMT("unable to launch session for fd = %d"), newfd); in httpd_sess_new()
212 ESP_LOGD(TAG, LOG_FMT("open_fn failed for fd = %d"), newfd); in httpd_sess_new()
219 ESP_LOGD(TAG, LOG_FMT("active sockets: %d"), hd->hd_sd_active_count); in httpd_sess_new()
355 ESP_LOGD(TAG, LOG_FMT("fd = %d"), session->fd); in httpd_sess_delete()
372 ESP_LOGD(TAG, LOG_FMT("active sockets: %d"), hd->hd_sd_active_count); in httpd_sess_delete()
411 ESP_LOGD(TAG, LOG_FMT("httpd_req_new")); in httpd_sess_process()
[all …]
Desp_httpd_priv.h34 #define LOG_FMT(x) "%s: " x, __func__ macro