You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by "leaf-potato (via GitHub)" <gi...@apache.org> on 2023/02/05 13:59:42 UTC

[GitHub] [brpc] leaf-potato commented on a diff in pull request #2102: Server support ALPN with OpenSSL

leaf-potato commented on code in PR #2102:
URL: https://github.com/apache/brpc/pull/2102#discussion_r1096705541


##########
src/brpc/adaptive_protocol_type.h:
##########
@@ -44,6 +44,7 @@ class AdaptiveProtocolType {
 public:
     explicit AdaptiveProtocolType() : _type(PROTOCOL_UNKNOWN) {}
     explicit AdaptiveProtocolType(ProtocolType type) : _type(type) {}
+    explicit AdaptiveProtocolType(butil::StringPiece name) { AssignWithString(name); }

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.

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