From 2a6495e8ef0029d2833313034022780660d7004a Mon Sep 17 00:00:00 2001 From: Ashish Gupta Date: Wed, 31 May 2017 00:35:19 +0200 Subject: Release nightly for KolibriOS. Check board.kolibrios.org forum thread for Netsurf for more details. --- content/fetchers/httplib_kolibri.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'content/fetchers/httplib_kolibri.c') diff --git a/content/fetchers/httplib_kolibri.c b/content/fetchers/httplib_kolibri.c index d3f268983..d5a52c30d 100644 --- a/content/fetchers/httplib_kolibri.c +++ b/content/fetchers/httplib_kolibri.c @@ -76,10 +76,14 @@ bool init_fetcher(lwc_string *scheme) { assert(lwc_string_isequal(scheme, corestring_lwc_http, &supported_scheme) == lwc_error_ok); LOG("Initializing http library!"); - if(kolibri_http_init() == 0) + debug_board_printf("---- [NETSURF] Trying to initialize http library.\n"); + if(kolibri_http_init() == 0) { LOG("[INFO] Loaded http.obj library successfully.\n"); + debug_board_printf("---- [NETSURF] Successfully initialized http library.\n"); + } else { LOG("[ERROR] Could not load http.obj library.\n"); + debug_board_printf("---- [NETSURF] Could not initialize http library. Exiting.\n"); assert(0 && 1); return false; } @@ -151,6 +155,7 @@ void *setup_fetch(struct fetch *parent_fetch, struct nsurl *url, bool start_fetch(void *httpf) { LOG("-=- start_fetch : httpf: 0x%x", httpf); + add_to_poll((struct httpfetcher *) httpf); return true; } @@ -308,6 +313,7 @@ void poll_fetch(lwc_string *scheme) { } fetch_msg msg; + msg.type = FETCH_FINISHED; msg.data.header_or_data.buf = NULL; msg.data.header_or_data.len = 0; -- cgit v1.2.3