This is an automated email from the ASF dual-hosted git repository. wwbmmm pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/brpc.git
The following commit(s) were added to refs/heads/master by this push: new 405b110b Fix stream write in background not work (#2440) 405b110b is described below commit 405b110b38a78669060fddae5fec8a5cf8ef3072 Author: Bright Chen <chenguangmin...@foxmail.com> AuthorDate: Fri Nov 10 16:50:10 2023 +0800 Fix stream write in background not work (#2440) --- src/brpc/stream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/brpc/stream.cpp b/src/brpc/stream.cpp index 47d776d5..a9126537 100644 --- a/src/brpc/stream.cpp +++ b/src/brpc/stream.cpp @@ -689,7 +689,7 @@ int StreamWrite(StreamId stream_id, const butil::IOBuf &message, return EINVAL; } Stream* s = (Stream*)ptr->conn(); - const int rc = s->AppendIfNotFull(message); + const int rc = s->AppendIfNotFull(message, options); if (rc == 0) { return 0; } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For additional commands, e-mail: dev-h...@brpc.apache.org