Skip to content

Commit

Permalink
Upd: add debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
jcorporation committed Sep 5, 2024
1 parent ebb7a17 commit c218344
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/web_server/proxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ void forward_backend_to_frontend_covercache(struct mg_connection *nc, int ev, vo
if (hm->body.len > 0 &&
response_code == 200)
{
MYMPD_LOG_DEBUG(NULL, "Got %lu bytes from connection \"%lu\", response code %d", (unsigned long)hm->body.len, nc->id, response_code);
sds binary = sdsnewlen(hm->body.buf, hm->body.len);
const char *mime_type = get_mime_type_by_magic_stream(binary);
struct t_mg_user_data *mg_user_data = (struct t_mg_user_data *) nc->mgr->userdata;
Expand Down

0 comments on commit c218344

Please sign in to comment.