You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When metadata is "preseeded" (constant per request), ghz adds repeated grpc-accept-encoding=gzip headers (each request keeps appending to the same object so it's duplicated 1000s of times).
To Reproduce ghz--metadata='{"my-header":"my-value"}' --call <request> -B <data> <url> --enable-compression
Expected behavior grpc-accept-encoding=gzip is set a single time on the metadata.
Describe the bug
When metadata is "preseeded" (constant per request), ghz adds repeated
grpc-accept-encoding=gzip
headers (each request keeps appending to the same object so it's duplicated 1000s of times).To Reproduce
ghz--metadata='{"my-header":"my-value"}' --call <request> -B <data> <url> --enable-compression
Expected behavior
grpc-accept-encoding=gzip
is set a single time on the metadata.Environment
Additional context
I believe this https://github.com/bojand/ghz/blob/master/runner/worker.go#L99-L101 is the problematic line - when the MD object is shared accross all requests it infinitely appends to the same object.
The text was updated successfully, but these errors were encountered: