diff options
author | Dmitry Isaikin <isaikin-dmitry@yandex.ru> | 2016-05-19 20:58:38 +0400 |
---|---|---|
committer | HoĆ V. DINH <dinh.viet.hoa@gmail.com> | 2016-05-19 09:58:38 -0700 |
commit | 6ea3534c94ced99a10682916c2718be8b93056da (patch) | |
tree | ea797cad294800cef0ca4a3b03dbc72230894c47 /src/core/imap/MCIMAPSession.h | |
parent | 6a720fd8bf82d6220330f148ca8ad351b690a9fd (diff) |
Store last server response on login command in case of parse error (#1436)
Diffstat (limited to 'src/core/imap/MCIMAPSession.h')
-rw-r--r-- | src/core/imap/MCIMAPSession.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/imap/MCIMAPSession.h b/src/core/imap/MCIMAPSession.h index 8b3fed0f..adbecd43 100644 --- a/src/core/imap/MCIMAPSession.h +++ b/src/core/imap/MCIMAPSession.h @@ -209,6 +209,8 @@ namespace mailcore { virtual bool isAutomaticConfigurationEnabled(); virtual String * loginResponse(); + /** Filled by unparsed protocol data in case of ParseError (only for login for now). */ + virtual Data * unparsedResponseData(); public: // private virtual void loginIfNeeded(ErrorCode * pError); @@ -276,6 +278,7 @@ namespace mailcore { String * mLoginResponse; String * mGmailUserDisplayName; + Data * mUnparsedResponseData; void init(); void bodyProgress(unsigned int current, unsigned int maximum); |