diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -246,13 +246,13 @@ includes the IP this time. The inclusion of the IP causes | |||
| 246 | checkRedirects() to call checkPaths(). | 246 | checkRedirects() to call checkPaths(). |
| 247 | 247 | ||
| 248 | 248 | ||
| 249 | checkPaths() will call checkURL() for each of the reference files. | 249 | checkPaths() will call checkHEAD() for each of the reference files. |
| 250 | 250 | ||
| 251 | 251 | ||
| 252 | checkURL() uses LuaSocket (or LuaSec for HTTPS) to send a HEAD request to | 252 | checkHEAD() uses LuaSocket (or LuaSec for HTTPS) to send a HEAD request to |
| 253 | the IP, with a Host header set to the original host name. Redirects will | 253 | the IP, with a Host header set to the original host name. Redirects will |
| 254 | not be followed by that request. If the request returns a redirect, then | 254 | not be followed by that request. If the request returns a redirect, then |
| 255 | checkURL() is called recursively. If the redirect is to some host we are | 255 | checkHEAD() is called recursively. If the redirect is to some host we are |
| 256 | not already checking, we call checkRedirects() on it, with an IP of | 256 | not 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 |
| 258 | otherwise call checkPaths(), instead gathering the IPs and fork as usual. | 258 | otherwise call checkPaths(), instead gathering the IPs and fork as usual. |
