diff --git a/http/upgrade/request/private.go b/http/upgrade/request/private.go index a63a297..045be21 100644 --- a/http/upgrade/request/private.go +++ b/http/upgrade/request/private.go @@ -52,13 +52,6 @@ func (r *T) parseHeader(b []byte) error { if err != nil { return err } - - for i, v := range head.Values { - if i == 0 { fmt.Printf("[ '%s'", v) - } else { fmt.Printf(", '%s'", v) } - } - fmt.Printf(" ]\n"); - return nil } diff --git a/internal/http/upgrade/request/parser/reqline/public.go b/internal/http/upgrade/request/parser/reqline/public.go index dad9931..340428d 100644 --- a/internal/http/upgrade/request/parser/reqline/public.go +++ b/internal/http/upgrade/request/parser/reqline/public.go @@ -34,8 +34,6 @@ func (r *T) Parse(b []byte) error { return err } - fmt.Printf("REQUEST-LINE\n------------\n - Method: '%d'\n - URI: '%s'\n - Version: %f\n", r.method, r.uri, float32(r.version)/10); - return nil } \ No newline at end of file