author | Nic Day
<nic.day@me.com> 2016-04-28 06:05:50 UTC |
committer | Brad Fitzpatrick
<bradfitz@golang.org> 2016-05-01 04:31:21 UTC |
parent | 1aafd77e1e7f6849ad16a7bdeb65e3589a10b2bb |
trace/trace.go | +2 | -1 |
diff --git a/trace/trace.go b/trace/trace.go index dd67007..d860fcc 100644 --- a/trace/trace.go +++ b/trace/trace.go @@ -93,7 +93,8 @@ var DebugUseAfterFinish = false // // AuthRequest may be replaced by a program to customise its authorisation requirements. // -// The default AuthRequest function returns (true, true) iff the request comes from localhost/127.0.0.1/[::1]. +// The default AuthRequest function returns (true, true) if and only if the request +// comes from localhost/127.0.0.1/[::1]. var AuthRequest = func(req *http.Request) (any, sensitive bool) { // RemoteAddr is commonly in the form "IP" or "IP:port". // If it is in the form "IP:port", split off the port.