Skip to content

Commit 9999908

Browse files
committed
research.go: don't block the response
1 parent 1197ed3 commit 9999908

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

research.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ func main() {
142142
return
143143
}
144144
r.URL.Path = strings.TrimPrefix(r.URL.Path, "/")
145-
reportUrlstat(r.URL.Path, r.UserAgent())
145+
go reportUrlstat(r.URL.Path, r.UserAgent())
146146

147147
// If this path lead to a folder, serve the entire folder
148148
if d, err := os.Stat(r.URL.Path); err == nil && d.IsDir() {

0 commit comments

Comments
 (0)