pidgin: 6a4d01f8: If the SOAP server returns a 503 AND we ...
qulogic at pidgin.im
qulogic at pidgin.im
Tue Jul 28 21:55:32 EDT 2009
-----------------------------------------------------------------
Revision: 6a4d01f8b0c62d5ee12cf1f5759b31d9cfd0a2b8
Ancestor: 4b615a1e94ea4e37cb23896a9c25a7e309fc5306
Author: qulogic at pidgin.im
Date: 2009-07-29T01:50:54
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/6a4d01f8b0c62d5ee12cf1f5759b31d9cfd0a2b8
Modified files:
libpurple/protocols/msn/soap.c
ChangeLog:
If the SOAP server returns a 503 AND we haven't yet authenticated, then
treat the error as fatal. Otherwise, just continue parsing stuff as usual
and send the error result to the callback.
Fixes #9681.
-------------- next part --------------
============================================================
--- libpurple/protocols/msn/soap.c 084bc62f4b062ee41d7b5c877eb49e714c4e27a1
+++ libpurple/protocols/msn/soap.c ab72a174b1fa5882438ad3911a96b778511f29a2
@@ -385,7 +385,7 @@ msn_soap_process(MsnSoapConnection *conn
msn_soap_connection_handle_next(conn);
handled = TRUE;
break;
- } else if (conn->response_code == 503) {
+ } else if (conn->response_code == 503 && conn->session->login_step < MSN_LOGIN_STEP_END) {
msn_soap_connection_sanitize(conn, TRUE);
msn_session_set_error(conn->session, MSN_ERROR_SERV_UNAVAILABLE, NULL);
return;
More information about the Commits
mailing list