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)
|
@wraps(func)
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def _trace_servlet_inner(request, *args, **kwargs):
|
def _trace_servlet_inner(request, *args, **kwargs):
|
||||||
with start_active_span_from_context(
|
with start_active_span(
|
||||||
request.requestHeaders,
|
|
||||||
"incoming-client-request",
|
"incoming-client-request",
|
||||||
tags={
|
tags={
|
||||||
"request_id": request.get_request_id(),
|
"request_id": request.get_request_id(),
|
||||||
|
Loading…
Reference in New Issue
Block a user