martin-g commented on pull request #382:
URL: https://github.com/apache/tomcat/pull/382#issuecomment-743160059


   In my test application TLS is configured but it is not used/needed by UDS so 
HTTP2 does not work:
   
   ```
   $ curl --http2 --unix-socket /tmp/tomcat-uds.sock 
http://localhost/testbed/plaintext
   curl: (56) Recv failure: Connection reset by peer
   $ ubuntu@martin-arm64 /tmp [56]> curl --unix-socket /tmp/tomcat-uds.sock 
http://localhost/testbed/plaintext
   curl: (56) Recv failure: Connection reset by peer
   ```
   
   If I use `h2c` then all is fine:
   
   `INFO: The ["http-apr-/tmp/tomcat-uds.sock"] connector has been configured 
to support HTTP upgrade to [h2c]`
   
   ```
   $ curl --unix-socket /tmp/tomcat-uds.sock http://localhost/testbed/plaintext
   Hello world!⏎    
   ```  
   I think it would be good to document this.


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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to