diff --git a/http/upgrade/request/public.go b/http/upgrade/request/public.go index 1883243..973f956 100644 --- a/http/upgrade/request/public.go +++ b/http/upgrade/request/public.go @@ -51,6 +51,7 @@ func Build(r io.Reader) (request *T, err error) { } + req.code = response.SWITCHING_PROTOCOLS return req, nil }