Skip to content

Commit 4d7f38c

Browse files
committed
remove setting ddorgin, this is not up to spec
1 parent 8c59b37 commit 4d7f38c

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

test/system-tests/request_handler.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,6 @@ void RequestHandler::on_span_start(const httplib::Request& req,
9494
span_cfg.resource = *resource;
9595
}
9696

97-
if (auto origin =
98-
utils::get_if_exists<std::string_view>(request_json, "origin")) {
99-
logger_->log_info(
100-
"[start_span] origin, but this can only be set via the "
101-
"'x-datadog-origin' header");
102-
}
103-
10497
auto success = [](const datadog::tracing::Span& span,
10598
httplib::Response& res) {
10699
// clang-format off

0 commit comments

Comments
 (0)