# HG changeset patch # User Stu Tomlinson # Date 1176397420 0 # Node ID 783b05e528b068fbe665e00321283a34e9459b0f # Parent ce85859d2f414e9a5cc93f4b7f55cff166e11225 MSN nexus servers seem to have started reporting HTTP 503 Service Unavailable errors recently and we were not handling that well. Hopefully this fixes it. diff -r ce85859d2f41 -r 783b05e528b0 libpurple/protocols/msn/nexus.c --- a/libpurple/protocols/msn/nexus.c Thu Apr 12 05:26:43 2007 +0000 +++ b/libpurple/protocols/msn/nexus.c Thu Apr 12 17:03:40 2007 +0000 @@ -252,6 +252,10 @@ msn_session_set_error(session, MSN_ERROR_AUTH, error); } + else if (strstr(nexus->read_buf, "HTTP/1.1 503 Service Unavailable")) + { + msn_session_set_error(session, MSN_ERROR_SERV_UNAVAILABLE, NULL); + } else if (strstr(nexus->read_buf, "HTTP/1.1 200 OK")) { char *base, *c;