summaryrefslogtreecommitdiff
path: root/src/input/asxparser.c
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2002-03-19 17:48:59 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2002-03-19 17:48:59 +0000
commit0dcf0cd885c0d2c52406708bd720f0f1e8116004 (patch)
treee7c6f723158dd59c67977dba901c0c1a6bb110a4 /src/input/asxparser.c
parent36940723965b3ac4ab5c1e21bcf4d880d8a7e268 (diff)
downloadxine-lib-0dcf0cd885c0d2c52406708bd720f0f1e8116004.tar.gz
xine-lib-0dcf0cd885c0d2c52406708bd720f0f1e8116004.tar.bz2
dynamic water mark adaption, small fixes
CVS patchset: 1593 CVS date: 2002/03/19 17:48:59
Diffstat (limited to 'src/input/asxparser.c')
-rw-r--r--src/input/asxparser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/asxparser.c b/src/input/asxparser.c
index b094b5f49..9cdd8cdcf 100644
--- a/src/input/asxparser.c
+++ b/src/input/asxparser.c
@@ -20,11 +20,11 @@ void first_request(char *buff, char *host, char *file, int *len) {
ptr=buff;
ptr+=sprintf(ptr,"GET %s HTTP/1.0\r\n",file);
ptr+=sprintf(ptr,"Accept: */*\r\n");
- ptr+=sprintf(ptr,"User-Agent: xine/0.9.8\r\n");
+ ptr+=sprintf(ptr,"User-Agent: NSPlayer/7.0.0.1956\r\n");
ptr+=sprintf(ptr,"Host: %s\r\n", host);
ptr+=sprintf(ptr,"Pragma: no-cache,rate=1.000000,stream-time=0,stream-offset=0:0,request-context=1,max-duration=0\r\n");
ptr+=sprintf(ptr,"Pragma: xClientGUID=%s\r\n", "{33715801-BAB3-9D85-24E9-03B90328270A}");
- ptr+=sprintf(ptr,"Connection: Close\r\n\r\n");
+ ptr+=sprintf(ptr,"Connection: Keep-Alive\r\n\r\n");
*len =(int)ptr-(int)buff;
}