[sheepdog] [PATCH v2] sheep/http: use a dynamic buffer size for read/write buffer allocation

MORITA Kazutaka morita.kazutaka at gmail.com
Thu Jan 16 07:40:02 CET 2014


At Wed, 15 Jan 2014 13:40:07 +0800,
Liu Yuan wrote:
> 
> Allocate the buffer size based on the request length so that small request won't
> take too much memory.
> 
> Signed-off-by: Liu Yuan <namei.unix at gmail.com>
> ---
>  sheep/http/kv.c | 12 +++++++-----
>  1 file changed, 7 insertions(+), 5 deletions(-)

Applied, thanks.

Kazutaka



More information about the sheepdog mailing list