std::string current_command_;
/// @brief Buffer into which chunks of the response are received.
- std::array<char, 1024> read_buf_;
+ std::array<char, 32768> read_buf_;
/// @brief Instance of the interval timer protecting against timeouts.
IntervalTimer timer_;
namespace {
/// @brief Maximum size of the data chunk sent/received over the socket.
-const size_t BUF_SIZE = 8192;
+const size_t BUF_SIZE = 32768;
class ConnectionPool;
std::string buf_;
/// @brief Input buffer.
- std::array<char, 4096> input_buf_;
+ std::array<char, 32768> input_buf_;
};
/// @brief Shared pointer to the connection.
HttpAcceptorCallback acceptor_callback_;
/// @brief Buffer for received data.
- std::array<char, 4096> buf_;
+ std::array<char, 32768> buf_;
/// @brief Buffer used for outbound data.
std::string output_buf_;