From 27835c9496179e33c955c8c0f79d6eed108df529 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Sun, 30 Oct 2022 13:34:50 +0200 Subject: [PATCH] debug messages edited --- src/HTTPServer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/HTTPServer.c b/src/HTTPServer.c index c06e3e4..52f5084 100644 --- a/src/HTTPServer.c +++ b/src/HTTPServer.c @@ -415,7 +415,7 @@ static esp_err_t GETHandler(httpd_req_t *req) if (preparedBytes >= (SCRATCH_BUFSIZE - MAX_DYNVAR_LENGTH)) { #if HTTP_SERVER_DEBUG_LEVEL > 0 - ESP_LOGI(TAG, "Write to HTTPserv resp %d", preparedBytes); + ESP_LOGI(TAG, "Call resp_send_chank because of chunk full. Send %d bytes", preparedBytes); #endif if (httpd_resp_send_chunk(req, chunk, preparedBytes) != ESP_OK) goto file_send_error; @@ -427,7 +427,7 @@ static esp_err_t GETHandler(httpd_req_t *req) if (preparedBytes) { #if HTTP_SERVER_DEBUG_LEVEL > 0 - ESP_LOGI(TAG, "Write to HTTPserv resp %d", preparedBytes); + ESP_LOGI(TAG, "Call resp_send_chank because of buf empty. Send %d bytes", preparedBytes); #endif if (httpd_resp_send_chunk(req, chunk, preparedBytes) != ESP_OK) goto file_send_error;