Skip to content

Call c_str for regex ctor to resolve local string compat issues.#1694

Merged
htuch merged 1 commit intoenvoyproxy:masterfrom
tschroed:regex-c_str
Sep 19, 2017
Merged

Call c_str for regex ctor to resolve local string compat issues.#1694
htuch merged 1 commit intoenvoyproxy:masterfrom
tschroed:regex-c_str

Conversation

@tschroed
Copy link
Copy Markdown
Contributor

Resolve any incompatibilities between std::string and local string (versa_string in this case) by instead passing c_str() to std::regex ctor.

@htuch

htuch
htuch previously approved these changes Sep 19, 2017
Signed-off-by: Trevor Schroeder <trevors@abnormal.cam.corp.google.com>
@htuch htuch merged commit 22282d0 into envoyproxy:master Sep 19, 2017
mathetake added a commit that referenced this pull request Mar 3, 2026
**Description**

Envoy Gateway skips the weight zero backendRef when constructing
localityLbEndoints slices. This starts handling such cases gracefully
rather than taking them as errors.

**Related Issues/PRs (if applicable)**
Close #1664
Supersedes #1694

---------

Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
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.

2 participants