Skip to content

Commit

Permalink
ctl: info log messages made debug
Browse files Browse the repository at this point in the history
- used to troubleshoot infite loop on shut down phase
- GH #2661
  • Loading branch information
miconda committed Mar 5, 2021
1 parent e3686fc commit 38acfb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/ctl/io_listener.c
Expand Up @@ -495,7 +495,7 @@ static int handle_stream_read(struct stream_connection* s_c, int idx)
DBG("handle_stream read: eof on %s\n", s_c->parent->name);
goto close_connection;
}
LM_INFO("bytes read: %d\n", bytes_read);
LM_DBG("bytes read: %d\n", bytes_read);
r->end+=bytes_read;
if (bytes_read && (bytes_read<r->bytes_to_go)){
r->bytes_to_go-=bytes_read;
Expand All @@ -515,7 +515,7 @@ static int handle_stream_read(struct stream_connection* s_c, int idx)
/* error while processing the packet => close the connection */
goto close_connection;
}
LM_INFO("bytes processed: %d\n", bytes_processed);
LM_DBG("bytes processed: %d\n", bytes_processed);
r->proc+=bytes_processed;
r->bytes_to_go=bytes_needed;
if (bytes_needed>0){
Expand Down

0 comments on commit 38acfb5

Please sign in to comment.