You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: implement HTTP connection hijacking for gzipWriter
- Add imports for `bufio`, `errors`, `net`, and `net/http`
- Ensure `gzipWriter` implements the `http.Hijacker` interface
- Implement `Hijack` method for `gzipWriter` to allow taking over the connection from the HTTP server
- Add `hijackableResponse` struct and methods to support hijacking in tests
- Add `TestResponseWriterHijack` to test the hijacking functionality of `gzipWriter`
Signed-off-by: appleboy <[email protected]>
0 commit comments