3 ms·
Would love to learn more about why a tracing function mutates the request (clears headers). That seems like foot gun that would be impossible for anyone not int
by ec109685 4y ago
Would love to learn more about why a tracing function mutates the request (clears headers). That seems like foot gun that would be impossible for anyone not intimately familiar with the function's implementation to avoid.
- jgrahamc 4y agoInternal retro is going to be digging into that question (amongst others). I imagine we’ll update the post with further details.
- Thorrez 4y agoMutating the headers might make sense if it needs to inject a trace ID into the headers. That doesn't explain why it would clear all headers though.
- Cthulhu_ 4y agoI suspect it'll be a trivial programming error that passed through tests that didn't test whether it leaves other headers unaffected as well as code review.