Rodolfo García Peñas (kix) 63a1d865a8 BUG: offlineimap3 fails with tunneled connections
Running offlineimap with tunneled connections fails.

The connection to the server is right, the server sends the
PREAUTH message, offlineimap reads it and provides a reply, something
like 'UID1 CAPABILITY'. This message is added to the output queue in
imaplib2.py, function _command():

 if literal is None:
     self.ouq.put(rqb)
     return rqb

Then, the function _writer() in imaplib2 calls the self.send() function:

 try:
     self.send(rqb.data)
     if __debug__: self._log(4, '> %r' % rqb.data)

self object is an IMAP4_Tunnel class, and the function send() writes the
message, but the message is not sent to the server.

We need flush the buffer.

Closes #30
2020-12-28 18:54:53 +01:00
..
2020-11-01 08:31:47 +01:00
2020-08-29 20:04:40 +02:00
2020-10-12 09:01:59 +02:00
2020-08-30 18:21:00 +02:00
2020-08-29 20:15:55 +02:00
2020-08-29 20:16:35 +02:00
2020-11-08 21:30:22 +01:00
2020-08-31 16:24:26 +02:00
2020-10-10 14:50:47 +02:00