Commit 31a2e74a authored by Tiago Medicci's avatar Tiago Medicci

Bug fixed at ESP_LOGD

parent 0b7b9054
...@@ -861,11 +861,11 @@ static void http_handle_connection(http_server_t server, void *arg_conn) ...@@ -861,11 +861,11 @@ static void http_handle_connection(http_server_t server, void *arg_conn)
if (ret > 0) { if (ret > 0) {
ctx->state = HTTP_COLLECTING_RESPONSE_HEADERS; ctx->state = HTTP_COLLECTING_RESPONSE_HEADERS;
if (ctx->handler == NULL) { if (ctx->handler == NULL) {
ESP_LOGD(TAG, "No registered Handler!") ESP_LOGD(TAG, "No registered Handler!");
http_send_not_found_response(ctx); http_send_not_found_response(ctx);
} else { } else {
ESP_LOGD(TAG, "Registered Handler Found!") ESP_LOGD(TAG, "Registered Handler Found!");
invoke_handler(ctx, HTTP_HANDLE_RESPONSE); invoke_handler(ctx, HTTP_HANDLE_RESPONSE);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment