From 6430299ca0adea0aed7be1d7858a50ec27c5becd Mon Sep 17 00:00:00 2001 From: Vishal Rana Date: Mon, 13 Jul 2015 23:36:56 -0700 Subject: [PATCH] Fixed #135 Signed-off-by: Vishal Rana --- context.go | 1 + echo.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/context.go b/context.go index 62cb3e64..8716cd08 100644 --- a/context.go +++ b/context.go @@ -179,5 +179,6 @@ func (c *Context) Error(err error) { func (c *Context) reset(r *http.Request, w http.ResponseWriter, e *Echo) { c.request = r c.response.reset(w) + c.query = nil c.echo = e } diff --git a/echo.go b/echo.go index ad701743..f4626d8a 100644 --- a/echo.go +++ b/echo.go @@ -158,7 +158,7 @@ func New() (e *Echo) { //---------- if runtime.GOOS == "windows" { - color.Disable() + e.DisableColoredLog() } e.HTTP2(false) e.notFoundHandler = func(c *Context) error {