This pull request fixes a typo in the Hijack algorithm. The hijack boolean must be set to true when the connection is hijacked not the opposite. This allows disabling buffering for hijacked connections (see https://github.com/vulcand/oxy/blob/master/buffer/buffer.go#L282).
What does this PR do?
This pull request fixes a typo in the
Hijack
algorithm. The hijack boolean must be set totrue
when the connection is hijacked not the opposite. This allows disabling buffering for hijacked connections (see https://github.com/vulcand/oxy/blob/master/buffer/buffer.go#L282).Additional Notes
Co-authored-by: Mathieu Lonjaret mathieu.lonjaret@gmail.com