Skip to content

do not attach request decorations to a shared prototype, alternative approach.#3796

Merged
hueniverse merged 1 commit intohapijs:masterfrom
devinivy:3718-alternative
May 30, 2018
Merged

do not attach request decorations to a shared prototype, alternative approach.#3796
hueniverse merged 1 commit intohapijs:masterfrom
devinivy:3718-alternative

Conversation

@devinivy
Copy link
Copy Markdown
Member

@devinivy devinivy commented May 30, 2018

Here I'm piggy-backing the discussion in #3795 and the initial work @cjihrig did to fix/test #3718.

This change prevents request decorations from being attached to the shared Request prototype. This was leading to decorations being leaked between servers in the same process.

@hueniverse hueniverse self-assigned this May 30, 2018
@hueniverse hueniverse added the bug Bug or defect label May 30, 2018
@hueniverse hueniverse added this to the 17.5.1 milestone May 30, 2018
@hueniverse hueniverse merged commit 6287f7c into hapijs:master May 30, 2018
@devinivy devinivy deleted the 3718-alternative branch May 30, 2018 15:06
@lock
Copy link
Copy Markdown

lock bot commented Jan 9, 2020

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Bug or defect

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants