diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2015-09-15 05:14:06 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-09-15 05:17:20 +0200 |
commit | 6011b94a5c6f0b787ce883b5646684828a54a994 (patch) | |
tree | 4bb250a1f5f232f5ce560f08d1fd0b7a98d13e50 | |
parent | 277dc0a7f946b90bfe04d6da225b4f53b443d1f6 (diff) |
Don't catch SIGHUP as it only work during IDLE.
Sending any signal while some mails are being copied interrupts the
syscall (eg, write) and attempting to resume crashes interimap.
-rw-r--r-- | Changelog | 1 | ||||
-rwxr-xr-x | interimap | 1 | ||||
-rw-r--r-- | interimap.1 | 5 |
3 files changed, 0 insertions, 7 deletions
@@ -11,7 +11,6 @@ interimap (0.2) upstream; Can be disabled by adding 'use-binary=NO' to the default section in the configuration file. * Exit with return value 0 when receiving a SIGTERM. - * Print IMAP traffic stats when receiving a SIGHUP. * Add SSL options SINGLE_ECDH_USE, SINGLE_DH_USE, NO_SSLv2, NO_SSLv3 and NO_COMPRESSION to the compiled-in CTX options. * Use SSL_MODE_AUTO_RETRY to avoid SSL_read failures during a @@ -120,7 +120,6 @@ sub cleanup() { } $SIG{INT} = sub { msg(undef, $!); cleanup(); exit 1; }; $SIG{TERM} = sub { cleanup(); exit 0; }; -$SIG{HUP} = sub { $_->stats() foreach grep defined, ($lIMAP, $rIMAP); }; ############################################################################# diff --git a/interimap.1 b/interimap.1 index 78f2e5f..621d968 100644 --- a/interimap.1 +++ b/interimap.1 @@ -352,11 +352,6 @@ for more information. File containing trusted certificates to use during server certificate authentication if \(lq\fISSL_verify\fR=YES\(rq. -.SH SIGNALS - -Sending a \fBSIGHUP\fR to \fBInterIMAP\fR makes it print I/O statistics -and then resume synchronization. - .SH SUPPORTED EXTENSIONS Performance is better for servers supporting the following extensions to |