aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-09-15 05:14:06 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-09-15 05:17:20 +0200
commit6011b94a5c6f0b787ce883b5646684828a54a994 (patch)
tree4bb250a1f5f232f5ce560f08d1fd0b7a98d13e50
parent277dc0a7f946b90bfe04d6da225b4f53b443d1f6 (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--Changelog1
-rwxr-xr-xinterimap1
-rw-r--r--interimap.15
3 files changed, 0 insertions, 7 deletions
diff --git a/Changelog b/Changelog
index 978f8e5..9d864f8 100644
--- a/Changelog
+++ b/Changelog
@@ -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
diff --git a/interimap b/interimap
index e7cd6d5..b3a7342 100755
--- a/interimap
+++ b/interimap
@@ -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