[sr-dev] [kamailio/kamailio] "shm_mem_size" does not work if it was set in config file (#950)

Alex Hermann notifications at github.com
Tue Apr 25 14:04:55 CEST 2017


Still broken in the version the bug was reported against: 4.4

The patch by @mmalygin is probably also needed to get the previous (and standard) _"command-line overrides config file"_  behaviour

> there will be problems if the size is not provided by -m and the shm_mem_size is set after a config directive that needs shared memory

Can that really happen? What option would need that? And isn't that caught by:
```c
		if (shm_initialized())
			yyerror("shm/shm_mem_size must be before any modparam or the"
					" route blocks");
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/950#issuecomment-297008973
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20170425/910c4621/attachment.html>


More information about the sr-dev mailing list