nghttpd: Use larger write buffer

This commit is contained in:
Tatsuhiro Tsujikawa 2015-01-02 13:45:51 +09:00
parent 0a4330ee3c
commit fe8f2a4603
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ private:
ev_io rev_; ev_io rev_;
ev_timer settings_timerev_; ev_timer settings_timerev_;
std::map<int32_t, std::unique_ptr<Stream>> id2stream_; std::map<int32_t, std::unique_ptr<Stream>> id2stream_;
RingBuf<16384> wb_; RingBuf<65536> wb_;
std::function<int(Http2Handler &)> read_, write_; std::function<int(Http2Handler &)> read_, write_;
int64_t session_id_; int64_t session_id_;
nghttp2_session *session_; nghttp2_session *session_;