You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2021/03/05 09:22:38 UTC

[GitHub] [servicecomb-java-chassis] yhs0092 commented on issue #2277: Java-Chassis的consumer端可能混用HTTP/1.1和HTTP/2的连接向provider端发送请求吗?

yhs0092 commented on issue #2277:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2277#issuecomment-791288421


   此外,Vert.x的客户端在`HttpClientOptions#protocolVersion`属性中限制了客户端请求的协议版本,不像是能用同一个HttpClient实例同时建立HTTP/1.1和HTTP/2连接的样子。
   但是Vert.x在`HttpChannelConnector`构造方法中还要计算HTTP/1.1连接和HTTP/2连接的权重(见 [HttpChannelConnector构造方法](https://github.com/eclipse-vertx/vert.x/blob/5a07e455fce94b7d458fb629a14167acda119391/src/main/java/io/vertx/core/http/impl/HttpChannelConnector.java#L70)),看着像是会同时容纳HTTP/1.1和HTTP/2连接?这个地方也有点让人看不懂


----------------------------------------------------------------
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:
users@infra.apache.org