box/tcp_connection.cpp
@@ -63,7 +63,7 @@ if (4 > len) { return false; } uint32_t head_len = Get32(p); if (head_len > 1024 * 4) { throw std::runtime_error("unexpected tcp reply data."); throw std::runtime_error("unexpected tcp data head."); } auto before_body = 4 + head_len + 4; if (before_body > len) {