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

Commit

Permalink
Don't accept opentracing data from clients. (#5715)
Browse files Browse the repository at this point in the history
* Don't accept opentracing data from clients.

* newsfile
  • Loading branch information
JorikSchellekens authored Jul 19, 2019
1 parent 5c05ae7 commit 7b8bc61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog.d/5715.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Don't accept opentracing data from clients.
3 changes: 1 addition & 2 deletions synapse/logging/opentracing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 7b8bc61

Please sign in to comment.