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 = { ...@@ -784,7 +784,7 @@ http_parser_settings htp_hooks = {
int HttpDownstreamConnection::read_clear() { int HttpDownstreamConnection::read_clear() {
ev_timer_again(conn_.loop, &conn_.rt); ev_timer_again(conn_.loop, &conn_.rt);
std::array<uint8_t, 8_k> buf; std::array<uint8_t, 16_k> buf;
int rv; int rv;
for (;;) { for (;;) {
...@@ -880,7 +880,7 @@ int HttpDownstreamConnection::read_tls() { ...@@ -880,7 +880,7 @@ int HttpDownstreamConnection::read_tls() {
ERR_clear_error(); ERR_clear_error();
ev_timer_again(conn_.loop, &conn_.rt); ev_timer_again(conn_.loop, &conn_.rt);
std::array<uint8_t, 8_k> buf; std::array<uint8_t, 16_k> buf;
int rv; int rv;
for (;;) { 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