You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2022/11/21 03:43:21 UTC

[GitHub] [incubator-brpc] serverglen commented on issue #2002: 如何关闭server端认证

serverglen commented on issue #2002:
URL: https://github.com/apache/incubator-brpc/issues/2002#issuecomment-1321422814

   指的是ServerOptions中的`const Authenticator* auth;`?,按照如下方式设置试试:
   ```c++
   brpc::ServerOptions options;
   options.auth = nullptr;
   
   if (server.Start(point, &options) != 0) {
       LOG(ERROR) << "Fail to start Server";
       return -1;
   }
   ```


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org