MCPcopy Create free account
hub / github.com/apache/brpc / security_mode

Method security_mode

src/brpc/server.h:217–217  ·  view source on GitHub ↗

Enable more secured code which protects internal information from exposure.

Source from the content-addressed store, hash-verified

215
216 // Enable more secured code which protects internal information from exposure.
217 bool security_mode() const { return internal_port >= 0 || !has_builtin_services; }
218
219 // SSL related options. Refer to `ServerSSLOptions' for details
220 bool has_ssl_options() const { return _ssl_options != NULL; }

Callers 7

ProcessHttpRequestFunction · 0.80
ProcessSofaRequestFunction · 0.80
ProcessNsheadRequestFunction · 0.80
ProcessThriftRequestFunction · 0.80
ProcessMongoRequestFunction · 0.80
ProcessRpcRequestFunction · 0.80
ProcessHuluRequestFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected