Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate getHeaderManager and setHeaderManager in HTTPSamplerBase #5917

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vlsi
Copy link
Collaborator

@vlsi vlsi commented May 13, 2023

Motivation and Context

See #727
getHeaderManager and setHeaderManager allow too broad API, and they effectively prevent sharing header managers between threads.

HTTP Header Manager is a non-trivial object, and it might consume a lot of memory (e.g. if each HTTP Sampler has a Header Manager), so it would be nice to reuse HTTP Headers somehow.

At least, the mechanics of setHeaderManager automatically clones and merges the elements look suspicious.

@vlsi vlsi added this to the 5.6 milestone May 13, 2023
@vlsi vlsi force-pushed the deprecate_sethttpmanager branch from f8782c8 to 475e929 Compare May 13, 2023 20:22
@vlsi vlsi marked this pull request as draft May 16, 2023 04:04
@vlsi vlsi modified the milestones: 5.6, 5.7 May 16, 2023
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.

None yet

1 participant