Skip to content

Commit

Permalink
Merge branch 'hotfix/0.2.7'
Browse files Browse the repository at this point in the history
  • Loading branch information
takama committed Nov 14, 2014
2 parents 513d882 + 9615933 commit 4fa2bec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions router.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// license that can be found in the LICENSE file.

/*
Package router 0.2.6 provides fast HTTP request router.
Package router 0.2.7 provides fast HTTP request router.
The router matches incoming requests by the request method and the path.
If a handle is registered for this path and method, the router delegates the
Expand Down Expand Up @@ -183,7 +183,7 @@ func (r *Router) ServeHTTP(w http.ResponseWriter, req *http.Request) {
}
}()
if r.Logger {
log.Println(req.Method, req.URL.Path)
log.Println(req.RemoteAddr, req.Method, req.URL.Path)
}
if _, ok := r.handlers[req.Method]; ok {
if handle, params, ok := r.handlers[req.Method].get(req.URL.Path); ok {
Expand Down

0 comments on commit 4fa2bec

Please sign in to comment.