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 2021/07/29 14:20:40 UTC

[GitHub] [incubator-brpc] guodongxiaren commented on issue #1475: 支持自定义Builtin Services访问规则

guodongxiaren commented on issue #1475:
URL: https://github.com/apache/incubator-brpc/issues/1475#issuecomment-889186739


   给option的has_builtin_services设置成false就可以关闭,默认是true。
   比如:
   ```cpp
       brpc::ServerOptions options;
       options.has_builtin_services = false;                                                                                             
       if (server.Start(FLAGS_port, &options) != 0) {
           LOG(ERROR) << "Fail to start EchoServer";
           return -1; 
       }  
   ```
   你可以根据你的系统环境(开发环境、测试环境、生产环境)来指定启用或关闭内置服务。
   @serverglen 


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