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

This commit is contained in:
Tatsuhiro Tsujikawa 2016-02-07 21:07:27 +09:00
parent 62c43ce2be
commit 0d806978e6
1 changed files with 2 additions and 2 deletions

View File

@ -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 (;;) {