|
@@ -522,7 +522,7 @@ int connect_source(RESTREAMER *r, int retries, int readbuflen, int *http_code) {
|
522
|
522
|
DO_RECONNECT;
|
523
|
523
|
}
|
524
|
524
|
|
525
|
|
- snprintf(buf,sizeof(buf)-1, "GET /%s HTTP/1.0\nHost: %s:%u\nX-Smart-Client: yes\nUser-Agent: %s %s (%s)\n\n",
|
|
525
|
+ snprintf(buf,sizeof(buf)-1, "GET /%s HTTP/1.0\r\nHost: %s:%u\r\nX-Smart-Client: yes\r\nUser-Agent: %s %s (%s)\r\n\r\n",
|
526
|
526
|
src->path, src->host, src->port, server_sig, server_ver, ident);
|
527
|
527
|
buf[sizeof(buf)-1] = 0;
|
528
|
528
|
fdwrite(r->sock, buf, strlen(buf));
|