nghttpx: Reduce socket I/O buffer size
This commit is contained in:
parent
832f2fc00f
commit
7a797b2c11
|
@ -46,8 +46,8 @@ using namespace nghttp2;
|
|||
namespace shrpx {
|
||||
|
||||
namespace {
|
||||
const size_t OUTBUF_MAX_THRES = 64*1024;
|
||||
const size_t INBUF_MAX_THRES = 64*1024;
|
||||
const size_t OUTBUF_MAX_THRES = 16*1024;
|
||||
const size_t INBUF_MAX_THRES = 16*1024;
|
||||
} // namespace
|
||||
|
||||
namespace {
|
||||
|
|
|
@ -44,7 +44,7 @@ using namespace nghttp2;
|
|||
namespace shrpx {
|
||||
|
||||
namespace {
|
||||
const size_t OUTBUF_MAX_THRES = 64*1024;
|
||||
const size_t OUTBUF_MAX_THRES = 16*1024;
|
||||
} // namespace
|
||||
|
||||
HttpsUpstream::HttpsUpstream(ClientHandler *handler)
|
||||
|
|
|
@ -45,8 +45,8 @@ using namespace nghttp2;
|
|||
namespace shrpx {
|
||||
|
||||
namespace {
|
||||
const size_t OUTBUF_MAX_THRES = 64*1024;
|
||||
const size_t INBUF_MAX_THRES = 64*1024;
|
||||
const size_t OUTBUF_MAX_THRES = 16*1024;
|
||||
const size_t INBUF_MAX_THRES = 16*1024;
|
||||
} // namespace
|
||||
|
||||
namespace {
|
||||
|
|
Loading…
Reference in New Issue