[Imaplib2-devel] STARTTLS and certificates Re:[ANNOUNCE] OfflineIMAP v6.3.4-rc3 released
piers at janeelix.com
Tue Jul 12 03:49:02 BST 2011
On Mon, 11 Jul 2011 14:29:28 +0200, Sebastian Spaeth wrote:
> On Mon, 11 Jul 2011 22:14:13 +1000, Piers Lauder <piers at janeelix.com> wrote:
> > I'm happy to consider changes to open() if it will help imaplib2
> > users.
> Cool, offlineimap has been carrying modified open()s for quite a long
> time now, in order to enable both IPv4 and IPv6 connections (python
> apparently only gets and connects via IPv4 by default).
> The unfortunately somewhat underdocumented piece starts at:
That looks identical to the default imaplib2 open_socket except for the setsockopt.
The bit with ssl is similar to the open in IMAP4_SSL.
Would it be enough if I just added the KEEP_ALIVE before the wrap_socket?
More information about the OfflineIMAP-project