jamesge commented on a change in pull request #692: Add Mysql Protocol, only 
support text protocol now, not support trans…
URL: https://github.com/apache/incubator-brpc/pull/692#discussion_r267203582
 
 

 ##########
 File path: src/brpc/socket.cpp
 ##########
 @@ -1523,7 +1523,7 @@ int Socket::Write(butil::IOBuf* data, const 
WriteOptions* options_in) {
     if (options_in) {
         opt = *options_in;
     }
-    if (data->empty()) {
+    if (data->empty() && opt.with_auth == false) {
 
 Review comment:
   !opt.with_auth

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to