aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/README.md
diff options
context:
space:
mode:
authoronefang2019-09-29 12:25:45 +1000
committeronefang2019-09-29 12:25:45 +1000
commite14629329f64f01073383398aac311ea27fbe32f (patch)
treed92eba30763f668380f7769fac3be9ae2554521b /README.md
parentOops, read the "redir" logic incorrectly, and wrote the theory section wrong. (diff)
downloadapt-panopticon-e14629329f64f01073383398aac311ea27fbe32f.zip
apt-panopticon-e14629329f64f01073383398aac311ea27fbe32f.tar.gz
apt-panopticon-e14629329f64f01073383398aac311ea27fbe32f.tar.bz2
apt-panopticon-e14629329f64f01073383398aac311ea27fbe32f.tar.xz
checkURL -> checkHEAD
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index a411e29..7ac867b 100644
--- a/README.md
+++ b/README.md
@@ -246,13 +246,13 @@ includes the IP this time. The inclusion of the IP causes
246checkRedirects() to call checkPaths(). 246checkRedirects() to call checkPaths().
247 247
248 248
249checkPaths() will call checkURL() for each of the reference files. 249checkPaths() will call checkHEAD() for each of the reference files.
250 250
251 251
252checkURL() uses LuaSocket (or LuaSec for HTTPS) to send a HEAD request to 252checkHEAD() uses LuaSocket (or LuaSec for HTTPS) to send a HEAD request to
253the IP, with a Host header set to the original host name. Redirects will 253the IP, with a Host header set to the original host name. Redirects will
254not be followed by that request. If the request returns a redirect, then 254not be followed by that request. If the request returns a redirect, then
255checkURL() is called recursively. If the redirect is to some host we are 255checkHEAD() is called recursively. If the redirect is to some host we are
256not already checking, we call checkRedirects() on it, with an IP of 256not already checking, we call checkRedirects() on it, with an IP of
257"redir". This causes checkRedirects() to bypass the test that would 257"redir". This causes checkRedirects() to bypass the test that would
258otherwise call checkPaths(), instead gathering the IPs and fork as usual. 258otherwise call checkPaths(), instead gathering the IPs and fork as usual.