Re: [PATCH] core: add internet connectivity check



Hi David,

> Chromium OS hits a URL that is expected to give a 204 response; if we get
> anything else, we assume we're being portalled.
> 
> This seems to be working well.   HTTPS would be the next step if we start
> to see portals returning 204s.

within ConnMan we decided to go for a vendor-header with a specific
value within the HTTP response. That way we are keeping the HTTP
response code and don't have to define a magic one.

In addition if you look at the big picture with actually integrating
WISPr, you do wanna make the initial request without HTTPS since you
need to figure out the login details first.

Also with 6to4 and all the other IPv6 setup magic, we separate IPv4
checks from IPv6 checks.

Regards

Marcel




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]