Removed captive portal suppression in iOS.

Redirecting was taking too long due to hiding the captive portal.
The iOS client would hang, waiting for a secure connection from lighttpd.
SSL is disabled, so no response would be recieved in a sane amount of time.
This commit is contained in:
Matias Barcenas 2017-12-05 16:54:46 -06:00
parent 1e7b724d5d
commit ee4d84e59f
1 changed files with 5 additions and 3 deletions

View File

@ -416,9 +416,11 @@ index-file.names = (
# The following will emulate Apple's and Google's internet connectivity checks. # The following will emulate Apple's and Google's internet connectivity checks.
# This should help with no-internet-connection warnings in some devices. # This should help with no-internet-connection warnings in some devices.
\$HTTP[\"host\"] == \"captive.apple.com\" { # Respond with Apple's captive response. # NOTE: The following was disabled because iOS routes directly to the captive portal
server.document-root = \"$FLUXIONWorkspacePath/captive_portal/connectivity_responses/Apple/\" # when it detects there is one present, otherwise it takes forever to route to it.
} #\$HTTP[\"host\"] == \"captive.apple.com\" { # Respond with Apple's captive response.
# server.document-root = \"$FLUXIONWorkspacePath/captive_portal/connectivity_responses/Apple/\"
#}
# Consolidate the clusterfuck below, I'm sleepy right now, can't regex right... # Consolidate the clusterfuck below, I'm sleepy right now, can't regex right...
\$HTTP[\"host\"] == \"www.google.com\" { # Respond with Google's captive response. \$HTTP[\"host\"] == \"www.google.com\" { # Respond with Google's captive response.