Re: [PATCH] core: add internet connectivity check
- From: Marcel Holtmann <marcel holtmann org>
- To: Thomas Bechtold <thomasbechtold jpberlin de>
- Cc: networkmanager-list gnome org
- Subject: Re: [PATCH] core: add internet connectivity check
- Date: Sat, 22 Oct 2011 11:59:58 +0200
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]