summaryrefslogtreecommitdiff
path: root/content/fetch.h
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2007-07-04 18:44:13 +0000
committerJames Bursa <james@netsurf-browser.org>2007-07-04 18:44:13 +0000
commit594eb74c4c180dd903a9a3162321e87b8a208576 (patch)
tree8d6eb34562aafae8f989ed5ee46527a3328b69ba /content/fetch.h
parent960c11de1aa674dff3c60bfd60de29f0591a1330 (diff)
downloadnetsurf-594eb74c4c180dd903a9a3162321e87b8a208576.tar.gz
netsurf-594eb74c4c180dd903a9a3162321e87b8a208576.tar.bz2
Fix deadlock when fetching stylesheets when max_fetchers_per_host is reached by splitting fetch_can_be_freed() into fetch_remove_from_queues() and fetch_free().
svn path=/trunk/netsurf/; revision=3380
Diffstat (limited to 'content/fetch.h')
-rw-r--r--content/fetch.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/fetch.h b/content/fetch.h
index 819f29fa9..d369bec76 100644
--- a/content/fetch.h
+++ b/content/fetch.h
@@ -110,7 +110,8 @@ bool fetch_add_fetcher(const char *scheme,
void fetch_send_callback(fetch_msg msg, struct fetch *fetch,
const void *data, unsigned long size);
-void fetch_can_be_freed(struct fetch *fetch);
+void fetch_remove_from_queues(struct fetch *fetch);
+void fetch_free(struct fetch *f);
void fetch_set_http_code(struct fetch *fetch, long http_code);
const char *fetch_get_referer_to_send(struct fetch *fetch);
#endif