Re: [PATCH] core: add internet connectivity check



Hi Tom,

> * use libsoup to check internet connectivity with
>   a http request to a configurable uri and check
>   the response code for 200

just checking for result code 200 will not be enough. A bunch of
hotspots return result code 200 actually. You need to also check that
the content of your requested website is valid. Otherwise you have a
bunch of false positives.

Regards

Marcel




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