Commit f545a915 authored by Laurent Aimar's avatar Laurent Aimar

* httpd: increased buffer size.

parent d7cd4a07
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* httpd.c * httpd.c
***************************************************************************** *****************************************************************************
* Copyright (C) 2001-2003 VideoLAN * Copyright (C) 2001-2003 VideoLAN
* $Id: httpd.c,v 1.9 2003/03/17 23:42:12 fenrir Exp $ * $Id: httpd.c,v 1.10 2003/03/17 23:48:26 fenrir Exp $
* *
* Authors: Laurent Aimar <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
* *
...@@ -734,7 +734,7 @@ static httpd_stream_t *_RegisterStream( httpd_sys_t *p_httpt, ...@@ -734,7 +734,7 @@ static httpd_stream_t *_RegisterStream( httpd_sys_t *p_httpt,
p_stream->pf_get = NULL; p_stream->pf_get = NULL;
p_stream->pf_post = NULL; p_stream->pf_post = NULL;
p_stream->i_buffer_size = 1024*1024; p_stream->i_buffer_size = 5*1024*1024;
p_stream->i_buffer_pos = 0; p_stream->i_buffer_pos = 0;
p_stream->i_buffer_last_pos = 0; p_stream->i_buffer_last_pos = 0;
p_stream->p_buffer = malloc( p_stream->i_buffer_size ); p_stream->p_buffer = malloc( p_stream->i_buffer_size );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment