0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 16:03:51 +01:00

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(),