On 05.03.2017 19:13, Julian Andres Klode wrote: > On Sun, Mar 05, 2017 at 06:07:02PM +0100, Philipp Kern wrote: >> On 02.03.2017 05:54, Aron Xu wrote: >>> I'd like to see it get enabled by default eventually, but preferably >>> provide a toggle in Privacy tab for Unity desktop (and configurable >>> check URL) which provides better user experience without compromising >>> privacy needs. But there remains a question for other desktops flavors >>> how to handle it (which is worse than the config-connectivity package >>> approach). >>> >>> Some facts about how to actually do the check: >>> 1. iOS uses a similar approach via HTTPS like what we NM does >>> 2. Android uses a 204 response from server via HTTPS, this would >>> reduce the server load and bandwidth requirement because there's no >>> HTTP body being transferred. >> >> Huh, isn't it using http://www.gstatic.com/generate_204? > > Not really. Android uses connectivitycheck.gstatic.com since 6.0 or something > (not www :)). For example, see: > > https://android.googlesource.com/platform/frameworks/base/+/b7c2487c8b5fbd154643b8ddade8d88507cae137 > > But more to the point, https was added at some point and turned on by > default: > > https://android.googlesource.com/platform/frameworks/base/+/c5be12e7ac43cbe8c68219fa702c6fb7f06183c3 > > - same server though.
Hm, thanks. Note, however, that it does parallel probing on both HTTP and HTTPS and takes whatever's first. It also contains a useful comment for implementers of a captive portal notification of "disable HTTPS checks if the captive portal login was taken care of". Kind regards Philipp Kern -- ubuntu-devel mailing list ubuntu-devel@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel