Fix data race
This commit is contained in:
parent
b6120cf6d7
commit
534fca0d3b
1 changed files with 1 additions and 1 deletions
|
@ -711,7 +711,7 @@ func (s *Server) visitor(r *http.Request) *visitor {
|
|||
s.visitors[ip] = newVisitor(s.config)
|
||||
return s.visitors[ip]
|
||||
}
|
||||
v.seen = time.Now()
|
||||
v.Keepalive()
|
||||
return v
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue