diff src/http.c @ 130:cc3e3f370aec

tune for streaming.
author Naoya OYAMA <naoya.oyama@gmail.com>
date Sun, 10 Oct 2010 22:44:28 +0900
parents 5a380559a61e
children 7b663556757f
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));