Browse Source

[core] fix log level of connection: (backend) response header parsing

Change-Id: Idd8263ccf19bf60df10cf22fa8c7037615171c35
master
Stefan Bühler 1 year ago
parent
commit
8643cafa22
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/main/stream_http_response.c

+ 2
- 2
src/main/stream_http_response.c View File

@@ -65,8 +65,8 @@ static void check_response_header(liStreamHttpResponse* shr) {
token = g_string_sized_new(15);
li_http_header_tokenizer_start(&header_tokenizer, resp->headers, CONST_STR_LEN("Connection"));
while (li_http_header_tokenizer_next(&header_tokenizer, token)) {
VR_ERROR(shr->vr, "Parsing header '%s'", ((liHttpHeader*)header_tokenizer.cur->data)->data->str);
VR_ERROR(shr->vr, "Connection token '%s'", token->str);
VR_DEBUG(shr->vr, "Parsing header '%s'", ((liHttpHeader*)header_tokenizer.cur->data)->data->str);
VR_DEBUG(shr->vr, "Connection token '%s'", token->str);
if (0 == g_ascii_strcasecmp(token->str, "Upgrade")) {
have_connection_upgrade = TRUE;
break;


Loading…
Cancel
Save