changeset 392:aed7c10085e0 trunk

[svn] - ensure that HTTP streams are connection: close. Patch by Daniel Barkalow <barkalow -at- iabervon.org>, closes #702
author nenolod
date Wed, 20 Dec 2006 03:51:01 -0800
parents d2d262d3064a
children 6987b5334081
files ChangeLog src/mpg123/http.c
diffstat 2 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Dec 18 23:45:10 2006 -0800
+++ b/ChangeLog	Wed Dec 20 03:51:01 2006 -0800
@@ -1,3 +1,12 @@
+2006-12-19 07:45:10 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
+  revision [858]
+  - build fix
+  
+  trunk/configure.ac   |    2 
+  trunk/po/Makefile.in |  384 ---------------------------------------------------
+  2 files changed, 1 insertion(+), 385 deletions(-)
+
+
 2006-12-18 20:25:28 +0000  William Pitcock <nenolod@nenolod.net>
   revision [856]
   - translation framework
--- a/src/mpg123/http.c	Mon Dec 18 23:45:10 2006 -0800
+++ b/src/mpg123/http.c	Wed Dec 20 03:51:01 2006 -0800
@@ -518,6 +518,7 @@
                     temp2 = NULL;
                 temp = g_strdup_printf("GET %s HTTP/1.1\r\n"
                                        "Host: %s\r\n"
+                                       "Connection: close\r\n"
                                        "User-Agent: %s/%s\r\n"
                                        "%s%s%s%s%s\r\n",
                                        file, host, PACKAGE_NAME, PACKAGE_VERSION,