Skip to content

Conversation

@JordonPhillips
Copy link
Contributor

The request pipeline currently deepcopies the config since it can be mutated by plugins. This was causing issues when copying a CRT client, which has un-copiable components to it. This implements the deepcopy method to behave better.

It may be necessary in the future to either remove the deepcopy, or modify this implementation to violate the intent of a deepcopy somewhat. I'm a bit concerned about not sharing the connection pool.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

The request pipeline currently deepcopies the config since it can be
mutated by plugins. This was causing issues when copying a CRT
client, which has un-copiable components to it. This implements the
deepcopy method to behave better.

It may be necessary in the future to either remove the deepcopy,
or modify this implementation to violate the intent of a deepcopy
somewhat. I'm a bit concerned about not sharing the connection pool.
@JordonPhillips JordonPhillips requested a review from a team as a code owner December 18, 2024 13:37
@JordonPhillips JordonPhillips merged commit 805239f into develop Dec 20, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants