[Kamailio-Devel] SF.net SVN: openser:[4734] trunk

Johansson Olle E oej at edvina.net
Mon Aug 25 14:00:59 CEST 2008


25 aug 2008 kl. 13.59 skrev Daniel-Constantin Mierla:

> Hello,
>
> On 08/25/08 14:44, Henning Westerholt wrote:
>> Revision: 4734
>>          http://openser.svn.sourceforge.net/openser/? 
>> rev=4734&view=rev
>> Author:   henningw
>> Date:     2008-08-25 11:44:43 +0000 (Mon, 25 Aug 2008)
>>
>> Log Message:
>> -----------
>> - apply patch from Anatoly Pidruchny, closes #1720847
>> - Allow to run OpenSER in "no-daemon" mode, necessary to run  
>> OpenSER under
>> daemontools. There is a -D option already that means "Do not fork  
>> into
>> daemon mode". But the problem with this option is that it really  
>> means
>> more then just "Do not fork into daemon mode". It really means do  
>> not fork
>> at all, i.e. do not create any child OpenSER processes. The patch  
>> below adds
>> a variable no_daemon in main.c, makes -D option only change the  
>> no_daemon
>> variable and makes the variable no_daemon only control whether  
>> OpenSER
>> daemonizes itself or not. Another option, option -F, is added as the
>> replacement of the old -D option. The -F option sets both no_daemon  
>> and
>> dont_fork variables, so that it means exactly the same as -D option  
>> meant before.
>>
> perhaps this has to be integrated somehow with 'fork' config option.

And please check the TCP connection stuff, so it works properly when  
running in the foreground.

/O



More information about the Devel mailing list