add stream

This commit is contained in:
sentriz
2019-04-05 14:17:59 +01:00
parent dd84d4df27
commit ec53d04730
8 changed files with 74 additions and 52 deletions

View File

@@ -32,7 +32,7 @@ func checkCredentialsOldWay(password, givenPassword string) bool {
func (c *Controller) LogConnection(next http.HandlerFunc) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
log.Printf("connection from %s", r.RemoteAddr)
log.Printf("connection from `%s` for `%s`", r.RemoteAddr, r.URL)
next.ServeHTTP(w, r)
}
}