Commit 0d806978 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttpx: Set HTTP/1 backend read buffer to 16k

parent 62c43ce2
......@@ -784,7 +784,7 @@ http_parser_settings htp_hooks = {
int HttpDownstreamConnection::read_clear() {
ev_timer_again(conn_.loop, &conn_.rt);
std::array<uint8_t, 8_k> buf;
std::array<uint8_t, 16_k> buf;
int rv;
for (;;) {
......@@ -880,7 +880,7 @@ int HttpDownstreamConnection::read_tls() {
ERR_clear_error();
ev_timer_again(conn_.loop, &conn_.rt);
std::array<uint8_t, 8_k> buf;
std::array<uint8_t, 16_k> buf;
int rv;
for (;;) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment