From c9e188a4d1634d9c7d2292a8d04e02f313f37f3b Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 25 Oct 2003 19:20:13 +0000 Subject: [project @ 2003-10-25 19:20:13 by jmb] HTTP Auth login improved (greatly). Addresses all three issues in the previous version. svn path=/import/netsurf/; revision=382 --- content/fetchcache.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'content/fetchcache.c') diff --git a/content/fetchcache.c b/content/fetchcache.c index 13ddbc9c5..28c098034 100644 --- a/content/fetchcache.c +++ b/content/fetchcache.c @@ -154,6 +154,14 @@ void fetchcache_callback(fetch_msg msg, void *p, char *data, unsigned long size) content_destroy(c); break; + case FETCH_AUTH: + /* data -> string containing the Realm */ + LOG(("FETCH_AUTH, '%s'", data)); + c->fetch = 0; + content_broadcast(c, CONTENT_MSG_AUTH, data); + cache_destroy(c); + break; + default: assert(0); } -- cgit v1.2.3