]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.2] misc/linkcheck: better redirect handling, use meaningful exit...
authorAndrew Gerrand <adg@golang.org>
Fri, 1 Nov 2013 00:19:34 +0000 (11:19 +1100)
committerAndrew Gerrand <adg@golang.org>
Fri, 1 Nov 2013 00:19:34 +0000 (11:19 +1100)
commit5962673984b0ad20c0a24427857724f8541e141e
treed0c62062f4f791b500fd5146afbb4a9c6d9b8b46
parentefb3af3d5c33dbdbad0fc52e95680843bb77ee72
[release-branch.go1.2] misc/linkcheck: better redirect handling, use meaningful exit code

««« CL 14425049 / 093d299d669e
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
»»»

R=golang-dev
CC=golang-dev
https://golang.org/cl/20360044
misc/linkcheck/linkcheck.go