zyearn opened a new issue #990: Support server protocol parsing order without changing ProtocolType(options.proto) URL: https://github.com/apache/incubator-brpc/issues/990 One possible plan: define an order for every protocol, ``` TypeOrder[] = { {PROTOCOL_BAIDU_STD , 100} , {PROTOCOL_STREAMING_RPC, 200}, } ``` and sort the protocol in handlers according to the number that followed. The interval between two protocol should be large enough to adapt to more protocols in future.
---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For additional commands, e-mail: dev-h...@brpc.apache.org