Re: [whatwg/url] Addressing HTTP servers over Unix domain sockets (#577)

@robin-aws 

`man 7 vsock`:
```
       The VSOCK address family facilitates communication between
       virtual machines and the host they are running on.
...
       A socket address is defined as a combination of a 32-bit Context
       Identifier (CID) and a 32-bit port number.  The CID identifies
       the source or destination, which is either a virtual machine or
       the host.  The port number differentiates between multiple
       services running on a single machine.
```
Casual inspection of this description from the man page reveals the terms "port number" and "host".  Then, referring to the *current* version of RFC 3968, I see:
```
 authority   = [ userinfo "@" ] host [ ":" port ]
 port        = *DIGIT
```
Rhetorically, what would happen if the VSOCK "host" were a URI "host" and a VSOCK "port number" were a URI "port" number?

Clearly, I'm not appreciating the actual problem there, since "host:port" is *already* defined in the RFC.  What is the actual problem?



-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/577#issuecomment-2605860828
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/url/issues/577/2605860828@github.com>

Received on Tuesday, 21 January 2025 22:23:10 UTC