From 0221151323846d159fbe9f9a9a6986768c1ce4c7 Mon Sep 17 00:00:00 2001
From: lichao <lichao@aiotlink.com>
Date: 星期三, 30 六月 2021 13:10:16 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/valib/bhshmq

---
 box/tcp_connection.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/box/tcp_connection.cpp b/box/tcp_connection.cpp
index 6506369..8f0fe86 100644
--- a/box/tcp_connection.cpp
+++ b/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) {

--
Gitblit v1.8.0