tzssangglass commented on issue #7125:
URL: https://github.com/apache/apisix/issues/7125#issuecomment-1281823747

   > you can visit 
[http://design.ux.mojerro.wang](http://design.ux.mojerro.wang/) and have a look 
at 502 page
   
   my route
   
   ```
   curl http://127.0.0.1:9180/apisix/admin/routes/1 -H 'X-API-KEY: 
edd1c9f034335f136f87ad84b625c8f1' -X PUT -i -d '
   {
       "uri": "/hello",
       "upstream": {
           "type": "roundrobin",
           "nodes": {
               "design.ux.mojerro.wang:80": 1
           }
       }
   }'
   ```
   
   and test
   
   ```
   curl --http2-prior-knowledge "http://127.0.0.1:9080/hello"; -vso /dev/null
   
   *   Trying 127.0.0.1:9080...
   * Connected to 127.0.0.1 (127.0.0.1) port 9080 (#0)
   * Using HTTP2, server supports multiplexing
   * Copying HTTP/2 data in stream buffer to connection buffer after upgrade: 
len=0
   * h2h3 [:method: GET]
   * h2h3 [:path: /hello]
   * h2h3 [:scheme: http]
   * h2h3 [:authority: 127.0.0.1:9080]
   * h2h3 [user-agent: curl/7.84.0]
   * h2h3 [accept: */*]
   * Using Stream ID: 1 (easy handle 0x2092f10)
   > GET /hello HTTP/2
   > Host: 127.0.0.1:9080
   > user-agent: curl/7.84.0
   > accept: */*
   >
   * Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
   < HTTP/2 000
   < date: Tue, 18 Oct 2022 05:10:47 GMT
   < server: APISIX/2.99.0
   <
   { [57 bytes data]
   * Connection #0 to host 127.0.0.1 left intact
   ```
   
   I think this means that APISIX has successfully proxied the http2 request
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to