mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-23 12:09:24 -05:00
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
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 New Issue
Block a user