[whatwg/fetch] Private Network Access integration (#1247)

As part of Private Network Access integration we need to expose a field on the connection it can use to segment the internet. In a non-proxy setup this would the IP address that ends up being used (see #1245 for details on making that more clear).

In a proxy setup where the proxy is responsible for resolving domains (and perhaps also when it isn't?) it's less clear what the right solution is. As I understand it from the Private Network Access draft the idea is to go with the IP address of the proxy, meaning that there is effectively no segmentation: https://wicg.github.io/private-network-access/#proxies.

Aside: it says there that it is fine to discover if a user is behind a proxy, but is that really true? Can you discover that reliably today?

cc @letitz @martinthomson @sleevi

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/1247

Received on Thursday, 3 June 2021 13:52:17 UTC