opentelemetry-go-contrib icon indicating copy to clipboard operation
opentelemetry-go-contrib copied to clipboard

Don't write headers on `Write` if they were already written

Open dmathieu opened this issue 1 year ago • 0 comments

The change in #5916 introduced a regression, as we don't check whether the header was written before writing it in Write(). We need to only write if the header wasn't written yet.

Fixes #6053.

dmathieu avatar Aug 27 '24 13:08 dmathieu