forked from MirrorHub/synapse
Don't accept opentracing data from clients. (#5715)
* Don't accept opentracing data from clients. * newsfile
This commit is contained in:
parent
5c05ae7ba0
commit
7b8bc61834
2 changed files with 2 additions and 2 deletions
1
changelog.d/5715.misc
Normal file
1
changelog.d/5715.misc
Normal file
|
@ -0,0 +1 @@
|
|||
Don't accept opentracing data from clients.
|
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue