nghttpx: Use smaller write buffer

This commit is contained in:
Tatsuhiro Tsujikawa 2015-01-09 09:51:46 +09:00
parent 473f1d71ff
commit 742d80aac4
2 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ public:
int64_t body_bytes_sent);
WorkerStat *get_worker_stat() const;
using WriteBuf = RingBuf<65536>;
using WriteBuf = RingBuf<16384>;
using ReadBuf = RingBuf<8192>;
WriteBuf *get_wb();

View File

@ -168,8 +168,8 @@ public:
CONNECTION_CHECK_STARTED
};
using WriteBuf = RingBuf<16384>;
using ReadBuf = RingBuf<8192>;
using WriteBuf = RingBuf<65536>;
private:
ev_io wev_;