Send connman mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.01.org/mailman/listinfo/connman
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of connman digest..."
Today's Topics:
1. [PATCH 3/3] main.conf: document options to configure Online
check (Christophe Ronco)
----------------------------------------------------------------------
Message: 1
Date: Mon, 30 Oct 2017 17:36:25 +0100
From: Christophe Ronco <[email protected]>
To: [email protected]
Subject: [PATCH 3/3] main.conf: document options to configure Online
check
Message-ID: <[email protected]>
---
doc/connman.conf.5.in | 15 +++++++++++++++
src/main.conf | 15 +++++++++++++++
2 files changed, 30 insertions(+)
diff --git a/doc/connman.conf.5.in b/doc/connman.conf.5.in
index 95b177f..5ef93ec 100644
--- a/doc/connman.conf.5.in
+++ b/doc/connman.conf.5.in
@@ -145,6 +145,21 @@ connectivity is successful. Only then the service will be
transitioned to ONLINE state.
If this setting is false, the default service will remain in READY state.
Default value is true.
+.TP
+.BI OnlineCheckUseConnmanHeaders=true\ \fR|\fB\ false
+When checking if a service is online, force connman to check for specific
headers in HTTP response.
+If this setting is false, a 200 status is enough to say that service is ONLINE.
+Otherwise Connman specific headers are tested.
+Default value is true.
+.TP
+.BI OnlineCheckServerIpV4Url= string
+URL used to check if a service is online for all IPV4 services.
+Default value is http://ipv4.connman.net/online/status.html
+# OnlineCheckServerIpV4Url = http://ipv4.connman.net/online/status.html
+.TP
+.BI OnlineCheckServerIpV6Url= string
+URL used to check if a service is online for all IPV6 services.
+Default value is http://ipv6.connman.net/online/status.html
.SH "EXAMPLE"
The following example configuration disables hostname updates and enables
ethernet tethering.
diff --git a/src/main.conf b/src/main.conf
index 68870b2..7fb1a75 100644
--- a/src/main.conf
+++ b/src/main.conf
@@ -111,6 +111,21 @@
# Default value is true.
# EnableOnlineCheck = false
+# When checking if a service is online, force connman to check for
+# specific headers in HTTP response.
+# If this setting is false, a 200 status is enough to say that service
+# is ONLINE. Otherwise Connman specific headers are tested.
+# Default value is true.
+# OnlineCheckUseConnmanHeaders = true
+
+# URL used to check if a service is online for all IPV4 services.
+# Default value is http://ipv4.connman.net/online/status.html
+# OnlineCheckServerIpV4Url = http://ipv4.connman.net/online/status.html
+
+# URL used to check if a service is online for all IPV6 services.
+# Default value is http://ipv6.connman.net/online/status.html
+# OnlineCheckServerIpV6Url = http://ipv6.connman.net/online/status.html
+
# List of technologies with AutoConnect = true which are always connected
# regardless of PreferredTechnologies setting. Default value is empty and
# will connect a technology only if it is at a higher preference than any
--
2.7.4
------------------------------
Subject: Digest Footer
_______________________________________________
connman mailing list
[email protected]
https://lists.01.org/mailman/listinfo/connman
------------------------------
End of connman Digest, Vol 24, Issue 32
***************************************