Skip to content

make golang http filter work with cgocheck - #29999

Merged
phlax merged 3 commits into
envoyproxy:mainfrom
mosn:fix-cgocheck
Oct 13, 2023
Merged

make golang http filter work with cgocheck#29999
phlax merged 3 commits into
envoyproxy:mainfrom
mosn:fix-cgocheck

Conversation

@doujiang24

Copy link
Copy Markdown
Member

so that people do not have to set GODEBUG=cgocheck=0.
fix #25178

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

@repokitteh-read-only repokitteh-read-only Bot added the deps Approval required for changes to Envoy's external dependencies label Oct 6, 2023
@repokitteh-read-only

Copy link
Copy Markdown

CC @envoyproxy/dependency-shepherds: Your approval is needed for changes made to (bazel/.*repos.*\.bzl)|(bazel/dependency_imports\.bzl)|(api/bazel/.*\.bzl)|(.*/requirements\.txt)|(.*\.patch).
envoyproxy/dependency-shepherds assignee is @mattklein123

🐱

Caused by: #29999 was opened by doujiang24.

see: more, trace.

@doujiang24
doujiang24 marked this pull request as draft October 6, 2023 10:08
@doujiang24 doujiang24 changed the title wip: make golang http filter work with cgocheck make golang http filter work with cgocheck Oct 11, 2023
Signed-off-by: doujiang24 <doujiang24@gmail.com>
Signed-off-by: doujiang24 <doujiang24@gmail.com>
@doujiang24
doujiang24 marked this pull request as ready for review October 12, 2023 03:21

@spacewander spacewander left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's update the go.mod in example/ and test_data/

Comment thread contrib/golang/filters/http/source/go/pkg/http/config.go
Signed-off-by: doujiang24 <doujiang24@gmail.com>
@doujiang24

Copy link
Copy Markdown
Member Author

Let's update the go.mod in example/ and test_data/

Thanks, updated the go.mod files related to golang HTTP extension.

@doujiang24

Copy link
Copy Markdown
Member Author

it's good to merge, cc @wbpcode Thanks~

@phlax phlax left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks @doujiang24

@repokitteh-read-only repokitteh-read-only Bot removed the deps Approval required for changes to Envoy's external dependencies label Oct 13, 2023
@phlax
phlax merged commit bb5cd1e into envoyproxy:main Oct 13, 2023
spacewander pushed a commit to spacewander/envoy that referenced this pull request Oct 14, 2023
Signed-off-by: doujiang24 <doujiang24@gmail.com>
johnlanni pushed a commit to johnlanni/envoy that referenced this pull request Mar 25, 2025
Signed-off-by: doujiang24 <doujiang24@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.

Go HTTP Filter: fails with cgo argument has Go pointer to Go pointer

4 participants