Module: kamailio Branch: 5.4 Commit: 2788f985fc4a5146c50bba15febe73fee874f9e6 URL: https://github.com/kamailio/kamailio/commit/2788f985fc4a5146c50bba15febe73fe...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2021-03-05T07:35:50+01:00
ctl: info log messages made debug
- used to troubleshoot infite loop on shut down phase - GH #2661
(cherry picked from commit 38acfb59dde232b1a9f0ffc206fb46b320cd8e10)
---
Modified: src/modules/ctl/io_listener.c
---
Diff: https://github.com/kamailio/kamailio/commit/2788f985fc4a5146c50bba15febe73fe... Patch: https://github.com/kamailio/kamailio/commit/2788f985fc4a5146c50bba15febe73fe...
---
diff --git a/src/modules/ctl/io_listener.c b/src/modules/ctl/io_listener.c index 93ce89c948..ac8f64fc90 100644 --- a/src/modules/ctl/io_listener.c +++ b/src/modules/ctl/io_listener.c @@ -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; @@ -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){