]> Pileus Git - ~andy/fetchmail/commitdiff
Revert SO_???TIMEO-based STARTTLS timeout handling.
authorMatthias Andree <matthias.andree@gmx.de>
Mon, 6 Jun 2011 22:26:37 +0000 (00:26 +0200)
committerMatthias Andree <matthias.andree@gmx.de>
Sun, 21 Aug 2011 13:33:04 +0000 (15:33 +0200)
This reverts commits 47c05b10018f5ec7493e4bd9f521aaa18d96f1e2
and 72ce8bce8dd655b6aefa33d0a74e883dad5202b5, the code isn't portable,
for instance, Solaris does not support SO_RCVTIMEO/SO_SNDTIMEO.
These socket-level options are known, but Solaris returns EAFNOSUPPORT.

Reported by Jonathan Buschmann.

Conflicts:

NEWS
socket.c

TODO-6.3.20 [new file with mode: 0644]

diff --git a/TODO-6.3.20 b/TODO-6.3.20
new file mode 100644 (file)
index 0000000..d9d7997
--- /dev/null
@@ -0,0 +1,11 @@
+- fix STARTTLS timeouts by setting socket timings
+  possibly using a different structure than an int to save the fd
+  and SSL context -- and then also timeout?
+  Or just make set_timeout take an optional fd, which, when != -1,
+  also sets the socket timeouts?
+
+- make SSLv2 removal dependent on openssl configuration
+  (see Debian FTBFS bug for how to detect that in configure)
+
+- make --with-ssl default?
+