From 19101f7f4a2350c3c86c257e520dd677cd13cc88 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Fri, 9 Jan 2015 20:55:39 +0900 Subject: [PATCH] Revert "nghttpx: Use smaller write buffer" This reverts commit 742d80aac45f4d33bca8132f7c5dc71cb62e4761. --- src/shrpx_client_handler.h | 2 +- src/shrpx_http2_session.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shrpx_client_handler.h b/src/shrpx_client_handler.h index 0eb66e54..138899df 100644 --- a/src/shrpx_client_handler.h +++ b/src/shrpx_client_handler.h @@ -135,7 +135,7 @@ public: int64_t body_bytes_sent); WorkerStat *get_worker_stat() const; - using WriteBuf = RingBuf<16384>; + using WriteBuf = RingBuf<65536>; using ReadBuf = RingBuf<8192>; WriteBuf *get_wb(); diff --git a/src/shrpx_http2_session.h b/src/shrpx_http2_session.h index a5df3b81..422f876d 100644 --- a/src/shrpx_http2_session.h +++ b/src/shrpx_http2_session.h @@ -168,8 +168,8 @@ public: CONNECTION_CHECK_STARTED }; - using WriteBuf = RingBuf<16384>; using ReadBuf = RingBuf<8192>; + using WriteBuf = RingBuf<65536>; private: ev_io wev_;