nghttpx: Use smaller write buffer
This commit is contained in:
parent
473f1d71ff
commit
742d80aac4
|
@ -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();
|
||||
|
|
|
@ -168,8 +168,8 @@ public:
|
|||
CONNECTION_CHECK_STARTED
|
||||
};
|
||||
|
||||
using WriteBuf = RingBuf<16384>;
|
||||
using ReadBuf = RingBuf<8192>;
|
||||
using WriteBuf = RingBuf<65536>;
|
||||
|
||||
private:
|
||||
ev_io wev_;
|
||||
|
|
Loading…
Reference in New Issue