Skip to content

support the http.Hijacker interface in middleware.responseWriterInterceptor #28

@draeron

Description

@draeron

If a another middleware try to hijack the connection, the wrapper won't forward the call to hijack. In my case the middleware tries to upgrade the connection to a websocket.

This is how it's implemented in Negroni :
https://github.com/urfave/negroni/blob/master/response_writer.go#L82

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions