---
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