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