[vlc-devel] [PATCH 3/3] httpd: we don't need a huge sending buffer anymore on Windows
Steve Lhomme
robux4 at videolabs.io
Fri Jan 15 17:17:12 CET 2016
--
before the poll() changes, the smaller the buffer, the more chances we would
lose an event
---
src/network/httpd.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/network/httpd.c b/src/network/httpd.c
index 4672e10..8bd00f1 100644
--- a/src/network/httpd.c
+++ b/src/network/httpd.c
@@ -56,12 +56,7 @@
# include <sys/socket.h>
#endif
-#if defined(_WIN32)
-/* We need HUGE buffer otherwise TCP throughput is very limited */
-#define HTTPD_CL_BUFSIZE 1000000
-#else
#define HTTPD_CL_BUFSIZE 10000
-#endif
static void httpd_ClientDestroy(httpd_client_t *cl);
static void httpd_AppendData(httpd_stream_t *stream, uint8_t *p_data, int i_data);
--
2.6.0.windows.1
More information about the vlc-devel
mailing list