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