summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2018-08-09 17:18:39 +0100
committerMichael Drake <michael.drake@codethink.co.uk>2018-08-09 17:18:39 +0100
commit19eb0517278f6e7a533903cc50037932a8cfbfb9 (patch)
treec62beebc8108a3ded3c77339ddac3407900c96c2
parent97f9e2d9f57048f524492392ad13b8806ee2b94f (diff)
downloadnetsurf-19eb0517278f6e7a533903cc50037932a8cfbfb9.tar.gz
netsurf-19eb0517278f6e7a533903cc50037932a8cfbfb9.tar.bz2
HTTP authentication: Add some logging when opening 401 windows.
-rw-r--r--desktop/netsurf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop/netsurf.c b/desktop/netsurf.c
index 76ff4b19a..f39a6baef 100644
--- a/desktop/netsurf.c
+++ b/desktop/netsurf.c
@@ -109,6 +109,9 @@ static nserror netsurf_llcache_query_handler(const llcache_query *query,
switch (query->type) {
case LLCACHE_QUERY_AUTH:
+ NSLOG(llcache, INFO, "HTTP Auth for: %s: %s",
+ query->data.auth.realm,
+ nsurl_access(query->url));
guit->misc->login(query->url, query->data.auth.realm, cb, cbpw);
break;