troglobit / uftpd

FTP/TFTP server for Linux that just works™
https://troglobit.com/projects/uftpd/
ISC License
182 stars 32 forks source link

Slow close when sending SIGINT to server #3

Closed troglobit closed 9 years ago

troglobit commented 9 years ago

When running uftpd in the foreground and sending SIGINT, it takes what feels like an eternity (~2 sec) for it to react.

This is not only annoying, many process supervision servers only wait 1 sec before sending SIGKILL or starting a new instance after SIGTERM:ing an older instance.