1
0
mirror of https://github.com/golang/go synced 2024-09-23 17:10:13 -06:00
go/misc/linkcheck
Andrew Gerrand e7426010c5 misc/linkcheck: better redirect handling, use meaningful exit code
Prevent linkcheck from following redirects that lead beyond the outside
the root URL.

Return a non-zero exit code when there are problems.

Some minor refactoring for clarity.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/14425049
2013-10-25 17:31:02 +03:00
..
linkcheck.go misc/linkcheck: better redirect handling, use meaningful exit code 2013-10-25 17:31:02 +03:00