[sr-dev] Timer handling broken in 5.5.2

Markus Bönke mbodbg at gmx.net
Tue Oct 5 13:48:32 CEST 2021

Hello all,

the handling of timer events is broken in 5.5.2. I get the following error:

ERROR: <core> [core/parser/msg_parser.c:748]: parse_msg(): ERROR: parse_msg: message=<GET /timer HTTP/0.9#012#012>

I think it was introduced by

 https://github.com/kamailio/kamailio/commit/1737e9443d6617350c5e6044aef07be565a345d0#diff-097939cfb9b6af2960a0d1161620155feadf3cbb4898144dee10b22834620a72 <https://github.com/kamailio/kamailio/commit/1737e9443d6617350c5e6044aef07be565a345d0#diff-097939cfb9b6af2960a0d1161620155feadf3cbb4898144dee10b22834620a72>

	if(msg->headers==NULL) {
		/* nothing parsed - invalid input sip message */
		goto error1;

Should’t thy be handled different already in parse_msg in msg_parser.c?

Thanks and regards

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20211005/29aa2b8d/attachment-0001.htm>

More information about the sr-dev mailing list