[gnome-software/wip/temp/ubuntu-xenial-rebased: 295/329] Don't retry auth on 500
- From: Iain Lane <iainl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/temp/ubuntu-xenial-rebased: 295/329] Don't retry auth on 500
- Date: Fri, 29 Apr 2016 14:10:09 +0000 (UTC)
commit c82826e4800535a6abcbd324aa4f2ae840d6f866
Author: William Hua <william hua canonical com>
Date: Mon Apr 25 14:18:31 2016 +0200
Don't retry auth on 500
src/plugins/gs-ubuntu-snapd.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-ubuntu-snapd.c b/src/plugins/gs-ubuntu-snapd.c
index 708de84..ec68b7f 100644
--- a/src/plugins/gs-ubuntu-snapd.c
+++ b/src/plugins/gs-ubuntu-snapd.c
@@ -170,7 +170,7 @@ send_snapd_request (const gchar *method,
if (status_code != NULL)
*status_code = code;
- if ((code == 401 || code == 403 || code == 500) && retry_after_login) {
+ if ((code == 401 || code == 403) && retry_after_login) {
g_socket_close (socket, NULL);
gs_ubuntuone_clear_macaroon ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]