You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by GitBox <gi...@apache.org> on 2022/09/13 15:41:02 UTC

[GitHub] [trafficserver] bbassingthwaite opened a new issue, #9089: Forward Proxy not working with HTTP2

bbassingthwaite opened a new issue, #9089:
URL: https://github.com/apache/trafficserver/issues/9089

   Hello, I am running `ATS 9.1.2` as an HTTP forward proxy with both `HTTPS` and `HTTP2`. If I run the curl command `curl  -x https://127.0.0.1:8080 -v http://127.0.0.1/` everything works as expected. But if I try the same curl and force it to use HTTP2 with the curl opt `--http2-prior-knowledge`, the origin server receives the request `GET /http://127.0.0.1/ HTTP/1.1\r\n`. ATS seems to recognize that it should be a forward proxy since it forwards the request onto the correct origin but the path of the request is wrong as I would expect it to be `/`.
   
   Thanks!


-- 
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: issues-unsubscribe@trafficserver.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [trafficserver] github-actions[bot] commented on issue #9089: Forward Proxy not working with HTTP2

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #9089:
URL: https://github.com/apache/trafficserver/issues/9089#issuecomment-1722100175

   This issue has been automatically marked as stale because it has not had recent activity. Marking it stale to flag it for further consideration by the community.


-- 
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: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [trafficserver] maskit commented on issue #9089: Forward Proxy not working with HTTP2

Posted by GitBox <gi...@apache.org>.
maskit commented on issue #9089:
URL: https://github.com/apache/trafficserver/issues/9089#issuecomment-1248770575

   I couldn't check that because my curl, which is pretty new, doesn't support HTTP/2 prior knowledge for proxy.
   ```
   $ curl --http2-prior-knowledge -v -x http://localhost:8888/ http://foo.example
   *   Trying 127.0.0.1:8888...
   * Connected to localhost (127.0.0.1) port 8888 (#0)
   * Ignoring HTTP/2 prior knowledge due to proxy
   > GET http://foo.example/ HTTP/1.1
   > Host: foo.example
   > User-Agent: curl/7.84.0-DEV
   > Accept: */*
   > Proxy-Connection: Keep-Alive
   > 
   ```
   
   And I don't think forward proxying on HTTP/2 is supported, even on HTTPS connections. I'm not going to say we never support it, but I'd say it probably won't be supported. Pull Request is welcome.


-- 
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: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org