From ede610490030c12bbfba02494fade4ad875bcc2a Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 2 Oct 2016 11:00:55 +0900 Subject: [PATCH] nghttpx: Increase block size for connection wide BlockAllocator --- src/shrpx_client_handler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shrpx_client_handler.cc b/src/shrpx_client_handler.cc index 900d4db3..9b62f47f 100644 --- a/src/shrpx_client_handler.cc +++ b/src/shrpx_client_handler.cc @@ -378,7 +378,7 @@ int ClientHandler::upstream_http1_connhd_read() { ClientHandler::ClientHandler(Worker *worker, int fd, SSL *ssl, const StringRef &ipaddr, const StringRef &port, int family, const UpstreamAddr *faddr) - : balloc_(128, 128), + : balloc_(256, 256), conn_(worker->get_loop(), fd, ssl, worker->get_mcpool(), get_config()->conn.upstream.timeout.write, get_config()->conn.upstream.timeout.read,