This is an automated email from the ASF dual-hosted git repository.
jiashunzhu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-brpc.git
The following commit(s) were added to refs/heads/master by this push:
new 0b6eb8a Fix a typo of compress type
new 9af5a64 Merge pull request #1605 from yangzhg/patch-1
0b6eb8a is described below
commit 0b6eb8a7021187c4e6953c2e4501253f8ae2f7c8
Author: Zhengguo Yang <[email protected]>
AuthorDate: Tue Nov 16 14:56:49 2021 +0800
Fix a typo of compress type
---
src/brpc/protocol.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/brpc/protocol.cpp b/src/brpc/protocol.cpp
index 3e2c717..83846a0 100644
--- a/src/brpc/protocol.cpp
+++ b/src/brpc/protocol.cpp
@@ -139,7 +139,7 @@ void SerializeRequestDefault(butil::IOBuf* buf,
}
if (!SerializeAsCompressedData(*request, buf,
cntl->request_compress_type())) {
return cntl->SetFailed(
- EREQUEST, "Fail to compress request, compress_tpye=%d",
+ EREQUEST, "Fail to compress request, compress_type=%d",
(int)cntl->request_compress_type());
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]