[Openvpn-devel] Adding a ctrl-C handler in windows

2015-11-07 Thread Selva Nair
Hi, I plan to add a control-C handler in win32.c. The handler will simply map it to SIGTERM. Is there any particular reason why control-C is not currently handled? We need this functionality to use nssm properly. When openvpn is started by nssm, the service has no good ways of gracefully terminat

Re: [Openvpn-devel] Adding a ctrl-C handler in windows

2015-11-09 Thread Samuli Seppänen
Hi, I plan to add a control-C handler in win32.c. The handler will simply map it to SIGTERM. Is there any particular reason why control-C is not currently handled? Hi, I forwarded this email to James - he might have a clue. Samuli

Re: [Openvpn-devel] Adding a ctrl-C handler in windows

2015-11-09 Thread James Yonan
On 09/11/2015 00:38, Samuli Seppänen wrote: Hi, I plan to add a control-C handler in win32.c. The handler will simply map it to SIGTERM. Is there any particular reason why control-C is not currently handled? Hi, I forwarded this email to James - he might have a clue. Currently the Windows

Re: [Openvpn-devel] Adding a ctrl-C handler in windows

2015-11-09 Thread Selva Nair
Hi, On Mon, Nov 9, 2015 at 1:04 PM, James Yonan wrote: >>> I plan to add a control-C handler in win32.c. The handler will simply >>> map it to SIGTERM. Is there any particular reason why control-C is not >>> currently handled? >> >> Hi, >> >> I forwarded this email to James - he might have a clue