summaryrefslogtreecommitdiff
path: root/content/fetchcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'content/fetchcache.c')
-rw-r--r--content/fetchcache.c8
1 files changed, 8 insertions, 0 deletions
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);
}