GNOME Bugzilla – Bug 630150
imapx attempts to connect to server when already cancelled
Last modified: 2013-09-14 16:54:24 UTC
camel_read() will return failure when the current operation is cancelled -- nothing is ever going to work. But imapx will happily attempt to connect to the server and start trying to authenticate, before that happens. It takes a lot of time. We should abort early.
Created attachment 170652 [details] [review] patch
Review of attachment 170652 [details] [review]: for 2.32 too
(Please change "Cancelled" to "Canceled")
There are no other instances of 'Canceled' in camel providers. There are plenty of 'Cancelled', so I've just been consistent with that. In the 2.30 backport I've changed the string to also match the existing ones (which mostly say 'Operation cancelled').
GIO uses "cancelled" (two L's) for all its error messages, which I'm converging on via GCancellable. Soon there won't be any need for us to write these error messages ourselves.