diff src/mpg123/http.c @ 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 f6bdf10fe48c
children
line wrap: on
line diff
--- 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,