From d42cafd178eb34aa1f36a37d32b604d96e41ec68 Mon Sep 17 00:00:00 2001 From: Miculcy Brian Date: Sat, 20 Sep 2008 10:41:17 +0000 Subject: [PATCH] =?UTF-8?q?Patch=20by=20Kilv=C3=A1dy=20Bal=C3=A1zs,=20fixe?= =?UTF-8?q?s=20problems=20with=20hanging=20connections...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SVN revision: 36130 --- e_mod_main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/e_mod_main.c b/e_mod_main.c index 8749c51..c4f0951 100644 --- a/e_mod_main.c +++ b/e_mod_main.c @@ -593,7 +593,9 @@ _forecasts_server_add(void *data, int type, void *event) degrees = 'c'; snprintf(forecast, sizeof(forecast), "/forecastrss?p=%s&u=%c", inst->ci->code, degrees); - snprintf(buf, sizeof(buf), "GET http://%s%s HTTP/1.1\r\nHost: %s\r\n\r\n", + snprintf(buf, sizeof(buf), "GET http://%s%s HTTP/1.1\r\n" + "Host: %s\r\n" + "Connection: close\r\n\r\n", inst->ci->host, forecast, inst->ci->host); DEBUG("Server: %s", buf); ecore_con_server_send(inst->server, buf, strlen(buf));