[libsoup/wip/tpopela/negotiate] soup-auth-negotiate: Mark the SoupAuth as not reusable if failed to build a response



commit 5492b36c925f1e1ba1541a39e3b9aa05d397b20c
Author: Tomas Popela <tpopela redhat com>
Date:   Tue Mar 1 15:55:29 2016 +0100

    soup-auth-negotiate: Mark the SoupAuth as not reusable if failed to build a response

 libsoup/soup-auth-negotiate.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libsoup/soup-auth-negotiate.c b/libsoup/soup-auth-negotiate.c
index a9e69b7..2fbc008 100644
--- a/libsoup/soup-auth-negotiate.c
+++ b/libsoup/soup-auth-negotiate.c
@@ -172,6 +172,7 @@ soup_auth_negotiate_update_connection (SoupConnectionAuth *auth, SoupMessage *ms
                        /* FIXME: report further upward via
                         * soup_message_get_error_message  */
                        g_warning ("gssapi step failed: %s", err->message);
+                       success = FALSE;
                }
        } else if (!strncmp (header, "Negotiate ", 10)) {
                if (soup_gss_client_step (conn, header + 10, &err) == AUTH_GSS_CONTINUE) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]