wasphin commented on a change in pull request #1214:
URL: https://github.com/apache/incubator-brpc/pull/1214#discussion_r481186746



##########
File path: src/brpc/server.h
##########
@@ -277,6 +277,11 @@ struct ServiceOptions {
     // Default: empty
     std::string restful_mappings;
 
+    // Work with restful_mappings, if this flag is true, reject methods 
accessed
+    // from default urls (SERVICE/METHOD).
+    // Default: true
+    bool restful_mapped_only;

Review comment:
       已改




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



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

Reply via email to