Don't accept opentracing data from clients. (#5715)

* Don't accept opentracing data from clients.

* newsfile
This commit is contained in:
Jorik Schellekens 2019-07-19 16:29:57 +01:00 committed by GitHub
parent 5c05ae7ba0
commit 7b8bc61834
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

1
changelog.d/5715.misc Normal file
View File

@ -0,0 +1 @@
Don't accept opentracing data from clients.

View File

@ -340,8 +340,7 @@ def trace_servlet(servlet_name, func):
@wraps(func)
@defer.inlineCallbacks
def _trace_servlet_inner(request, *args, **kwargs):
with start_active_span_from_context(
request.requestHeaders,
with start_active_span(
"incoming-client-request",
tags={
"request_id": request.get_request_id(),