You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicecomb.apache.org by GitBox <gi...@apache.org> on 2018/05/08 08:49:49 UTC

[GitHub] liubao68 commented on a change in pull request #648: [SCB-482] Http2 support for java-chassis

liubao68 commented on a change in pull request #648: [SCB-482] Http2 support for java-chassis
URL: https://github.com/apache/incubator-servicecomb-java-chassis/pull/648#discussion_r186657701
 
 

 ##########
 File path: demo/demo-pojo/pojo-server/src/main/resources/microservice.yaml
 ##########
 @@ -24,7 +24,7 @@ servicecomb:
     registry:
       address: http://127.0.0.1:30100
   rest:
-    address: 0.0.0.0:8080
+    address: 0.0.0.0:8080?protocol=h2
 
 Review comment:
   It's better to use protocol=http2, because
   1. protocol=http2 + sslEnabled=true means h2
   2. protocol=http2 + sslEnabled=false means h2c

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services