Skip to content

Deprecate getHeaderManager and setHeaderManager in HTTPSamplerBase#5917

Draft
vlsi wants to merge 1 commit intoapache:masterfrom
vlsi:deprecate_sethttpmanager
Draft

Deprecate getHeaderManager and setHeaderManager in HTTPSamplerBase#5917
vlsi wants to merge 1 commit intoapache:masterfrom
vlsi:deprecate_sethttpmanager

Conversation

@vlsi
Copy link
Copy Markdown
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.

1 participant