[sr-dev] [kamailio/kamailio] tm: add relay_100 config parameter to support stateless operation (#1534)

Daniel-Constantin Mierla notifications at github.com
Thu May 24 08:33:00 CEST 2018


miconda commented on this pull request.



> @@ -1494,7 +1494,7 @@ static enum rps t_should_relay_response( struct cell *Trans , int new_code,
 #endif
 		/* 1xx and 2xx except 100 will be relayed */
 		Trans->uac[branch].last_received=new_code;
-		*should_relay= new_code==100? -1 : branch;
+		*should_relay= (new_code=100 && !cfg_get(tm, tm_cfg, relay_100)) ? -1 : branch;

Should it still be `new_code==100` in the condition or I am missing something?

-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1534#pullrequestreview-122859738
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20180523/bec22de8/attachment-0001.html>


More information about the sr-dev mailing list