changeset 130:cc3e3f370aec

tune for streaming.
author Naoya OYAMA <naoya.oyama@gmail.com>
date Sun, 10 Oct 2010 22:44:28 +0900
parents 4f6d9621ee00
children 20442921bff5
files src/http.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/http.c	Sun Oct 10 15:33:18 2010 +0900
+++ b/src/http.c	Sun Oct 10 22:44:28 2010 +0900
@@ -260,7 +260,7 @@
     static UpnpWebFileHandle
 get_file_stream (const char *fullpath, thread_data *tdata)
 {
-#define STREAM_QUEUE (1024)
+#define STREAM_QUEUE (8192)
     struct web_file_t *file;
     int i = 0;
     file = malloc (sizeof (struct web_file_t));