diff options
author | James Bursa <james@netsurf-browser.org> | 2003-08-29 12:57:14 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2003-08-29 12:57:14 +0000 |
commit | 5c310d84dc6153b62e33d5aa28a1f75e2e776ea6 (patch) | |
tree | a7efa6f8fb1a1b27bb1939bd569b7b3a7115e4d7 /render | |
parent | be34d32e4677f4d2c527d157cf0016ac8d8ad798 (diff) | |
download | netsurf-5c310d84dc6153b62e33d5aa28a1f75e2e776ea6.tar.gz netsurf-5c310d84dc6153b62e33d5aa28a1f75e2e776ea6.tar.bz2 |
[project @ 2003-08-29 12:57:14 by bursa]
Better handling of server HTTP errors.
svn path=/import/netsurf/; revision=259
Diffstat (limited to 'render')
-rw-r--r-- | render/html.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/render/html.c b/render/html.c index a6e6d9e7d..e41a61633 100644 --- a/render/html.c +++ b/render/html.c @@ -181,7 +181,7 @@ void html_convert_css_callback(content_msg msg, struct content *css, c->active--; c->data.html.stylesheet_content[i] = fetchcache( error, c->url, html_convert_css_callback, - c, i, css->width, css->height); + c, i, css->width, css->height, true); if (c->data.html.stylesheet_content[i] != 0 && c->data.html.stylesheet_content[i]->status != CONTENT_STATUS_DONE) c->active++; @@ -234,7 +234,7 @@ void html_find_stylesheets(struct content *c, xmlNode *head) #endif c->url, html_convert_css_callback, - c, 0, c->width, c->height); + c, 0, c->width, c->height, true); assert(c->data.html.stylesheet_content[0] != 0); if (c->data.html.stylesheet_content[0]->status != CONTENT_STATUS_DONE) c->active++; @@ -285,7 +285,7 @@ void html_find_stylesheets(struct content *c, xmlNode *head) (i + 1) * sizeof(*c->data.html.stylesheet_content)); c->data.html.stylesheet_content[i] = fetchcache(url, c->url, html_convert_css_callback, c, i, - c->width, c->height); + c->width, c->height, true); if (c->data.html.stylesheet_content[i] && c->data.html.stylesheet_content[i]->status != CONTENT_STATUS_DONE) c->active++; @@ -368,7 +368,7 @@ void html_fetch_object(struct content *c, char *url, struct box *box) c->data.html.object[i].content = fetchcache(url, c->url, html_object_callback, c, i, - c->width, c->height); /* we don't know the object's + c->width, c->height, true); /* we don't know the object's dimensions yet; use parent's as an estimate */ if (c->data.html.object[i].content) { @@ -463,7 +463,7 @@ void html_object_callback(content_msg msg, struct content *object, c->data.html.object[i].url = xstrdup(error); c->data.html.object[i].content = fetchcache( error, c->url, html_object_callback, - c, i, 0, 0); + c, i, 0, 0, true); if (c->data.html.object[i].content && c->data.html.object[i].content->status != CONTENT_STATUS_DONE) c->active++; @@ -530,7 +530,7 @@ void html_revive(struct content *c, unsigned int width, unsigned int height) c->data.html.object[i].content = fetchcache( c->data.html.object[i].url, c->url, html_object_callback, - c, i, 0, 0); + c, i, 0, 0, true); if (c->data.html.object[i].content && c->data.html.object[i].content->status != CONTENT_STATUS_DONE) c->active++; |