Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
idle: don't use signals, use AF_UNIX dgrams
Communications back from idled to imapds are via a message sent on the AF_UNIX socket. The IDLE command is implemented as a select() loop, and there's absolutely nothing that needs to be done in signal handler context. Best of all, no more unexpected delivery of SIGUSR1 or SIGUSER2, assassinating innocent bystander processes.
- Loading branch information
Greg Banks
committed
Mar 27, 2012
1 parent
720f676
commit 17eb391
Showing
6 changed files
with
180 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.