File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ module Forwarded_http_request = struct
9595 type t = {
9696 uri : string
9797 ; query : (string * string ) list
98- ; traceparent : string option
98+ ; additional_headers : ( string * string ) list
9999 ; cookie : (string * string ) list
100100 ; body : string option
101101 }
Original file line number Diff line number Diff line change @@ -356,7 +356,8 @@ let handle_received_fd this_connection =
356356 let context = {Xenops_server. transferred_fd= Some received_fd} in
357357 let uri = Uri. of_string req.Xenops_migrate.Forwarded_http_request. uri in
358358 let traceparent =
359- req.Xenops_migrate.Forwarded_http_request. traceparent
359+ List. assoc_opt " traceparent"
360+ req.Xenops_migrate.Forwarded_http_request. additional_headers
360361 in
361362 fn uri req.Xenops_migrate.Forwarded_http_request. cookie traceparent
362363 this_connection context
You can’t perform that action at this time.
0 commit comments