remove debug print
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
06a0a2f336
commit
7a39d86018
@ -117,11 +117,11 @@ func (h *httpServer) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||
var hldr patHandler
|
||||
var handler *httpHandler
|
||||
|
||||
fmt.Printf("try to find handler\n")
|
||||
//fmt.Printf("try to find handler\n")
|
||||
for _, hpat := range h.handlers {
|
||||
handlertmp := hpat.(*httpHandler)
|
||||
for _, hldrtmp := range handlertmp.handlers[r.Method] {
|
||||
fmt.Printf("ssss method %v path %v %#+v\n", r.Method, path, hldrtmp)
|
||||
//fmt.Printf("ssss method %v path %v %#+v\n", r.Method, path, hldrtmp)
|
||||
_, mp, ok := hldrtmp.pat.Search(r.Method, path)
|
||||
if ok {
|
||||
match = true
|
||||
|
Loading…
Reference in New Issue
Block a user