Commit Graph

22 Commits (51f2d2b6dda1417a824a01315eca2f70646fbd42)

Author SHA1 Message Date
Edouard Tisserant c762e2ec11 Merge 2015-10-02 21:23:37 +02:00
Hoa V. Dinh 19112615db Use closesocket() on windows 2015-03-24 11:18:36 -07:00
Volker Birk c41d9cbf92 on request 2015-03-06 09:53:39 +01:00
Volker Birk 0d32d30e49 renaming wrappers.h to syscall_wrappers.h 2015-03-06 09:14:05 +01:00
Volker Birk 25cd0df373 wrappers applied 2015-03-05 16:33:56 +01:00
Hoa V. DINH 2a2307c3b7 Added required files to android build 2014-12-07 00:44:44 -08:00
Kyle Powers b71bbe1665 oauth2 -> xoauth2 2014-10-29 15:31:57 -07:00
Kyle Powers 0fadcb04ac adding comments for OAuth2 token login 2014-10-29 15:14:48 -07:00
Kyle Powers e1d1f64e11 consistent formatting with proj 2014-10-29 14:41:41 -07:00
Kyle Powers d851c4a781 fix for gmail imap (via oauth2) 2014-10-29 14:26:12 -07:00
Hoa V. DINH 6de5766e8f Fixed 32bits/64bits conversions (fixed #162) 2014-10-20 22:29:52 -07:00
Hoa V. DINH 705023bc1e Fixed clang static analyzer issues 2014-10-20 21:28:17 -07:00
Hoa V. Dinh ea6bc2eda0 Fixed SSL connection to iCloud IMAP 2014-10-06 13:51:56 -07:00
Ricardo Mones 4c2cc0dc5f Fix #143: add license to some src files 2014-06-15 12:57:26 +02:00
Ewan Mellor 1f651e15dc Fix crash where uninitialized password is freed.
Inside imap_mailstorage_init_sasl_with_local_address,
imap_storage->imap_password was only initialized if the password
parameter was set.  This meant that we would crash in
imap_mailstorage_uninitialize when attempting to free the
uninitialized value.
2013-10-28 16:42:07 -07:00
Matt Ronge 6c738db179 Some minor fixes to the CFStream on the high level interface 2013-07-28 11:01:19 -05:00
Matt Ronge 9809db133c Map the high level connect interface to CFNetwork when available 2013-07-27 11:52:14 -05:00
DINH Viet Hoa 4a7daf9f4e various fixes (fd leaks, mem leaks). Thanks to Manfred Weichel 2012-07-15 15:20:13 +02:00
DINH Viêt Hoà 64ecbc48f5 Merge pull request #4 from sbigaret/bug/3391479_Handling_response_code_482
Bug/3391479 handling response code 482
2011-08-15 05:54:25 -07:00
This return code corresponds to 480 "authentication failed", and like
all 4xx response codes it means that the command getting this answer
has not been performed.

is kept for compatibility with the existing code base.


Signed-off-by: Sébastien Bigaret <>
2011-08-15 10:43:54 +02:00
Sébastien Bigaret 2cb13557ad Adding a specific error for 482 "auth. commands issued out of sequence"
Reporting 482 "authentication commands issued out of sequence" as
AUTHENTIFICATION REJECTED tricks clients into thinking that the
supplied credentials are invalid, while it is definitely not the case
(but rather, this is caused by a flaw in the client's logic).

AFAIK there is no adequate error for this in libetpan, hence the
introduction of a new error:

It is mapped to MAIL_ERROR_BAD_STATE in nntpdriver-tools:
nntpdriver_nntp_error_to_mail_error() --not sure about this, but
included here so that it is not forgotten and it will be eventually
fixed in case the patch is accepted.

Signed-off-by: Sébastien Bigaret <>
2011-08-15 00:11:40 +02:00
DINH Viet Hoa 9155727e0b import from CVS 2011-07-19 22:49:12 +02:00