Join GitHub today
fix: inject context http headers early if expect header exists #766
This PR fixes a bug where our HTTP instrumentation fails if
To fix this, I brought back the old "slower" way of injecting trace context headers that was removed in #643, but only if the
I also added a test that fails without the source change.
@jinwoo Seems like the behavior for a long time (since Node 0.3) has been that Node eagerly sends headers when