Skip to content

buffer: fix typo in hijack algorithm#228

Merged
ldez merged 1 commit into
vulcand:masterfrom
kevinpollet:hijack
Nov 4, 2022
Merged

buffer: fix typo in hijack algorithm#228
ldez merged 1 commit into
vulcand:masterfrom
kevinpollet:hijack

Conversation

@kevinpollet

Copy link
Copy Markdown
Contributor

What does this PR do?

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).

Additional Notes

Co-authored-by: Mathieu Lonjaret mathieu.lonjaret@gmail.com

@ldez ldez changed the title Fix typo in hijack algorithm buffer: fix typo in hijack algorithm Nov 4, 2022
@ldez ldez added the bug label Nov 4, 2022

@juliens juliens left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ldez ldez merged commit 9260f86 into vulcand:master Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants