Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 7b8bc61

Browse files
Don't accept opentracing data from clients. (#5715)
* Don't accept opentracing data from clients. * newsfile
1 parent 5c05ae7 commit 7b8bc61

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

changelog.d/5715.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Don't accept opentracing data from clients.

synapse/logging/opentracing.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,8 +340,7 @@ def trace_servlet(servlet_name, func):
340340
@wraps(func)
341341
@defer.inlineCallbacks
342342
def _trace_servlet_inner(request, *args, **kwargs):
343-
with start_active_span_from_context(
344-
request.requestHeaders,
343+
with start_active_span(
345344
"incoming-client-request",
346345
tags={
347346
"request_id": request.get_request_id(),

0 commit comments

Comments
 (0)