Skip to content

fix: accept X-Cloud-Trace-Context headers without the options suffix - #444

Open
Shubham-Padkonde wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
Shubham-Padkonde:fix/trace-context-optional-options
Open

Shubham-Padkonde wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
Shubham-Padkonde:fix/trace-context-optional-options

Conversation

@Shubham-Padkonde

Copy link
Copy Markdown

The ";o=OPTIONS" part of the X-Cloud-Trace-Context header is optional, but the trace context regex required it, so a header such as "TRACE_ID/SPAN_ID" was treated as malformed and the span ID was not added to the execution ID log entries.

The ";o=OPTIONS" part of the X-Cloud-Trace-Context header is optional,
but the trace context regex required it, so a header such as
"TRACE_ID/SPAN_ID" was treated as malformed and the span ID was not
added to the execution ID log entries.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant