-
Notifications
You must be signed in to change notification settings - Fork 420
perf: move sandboxed environment to the C side #2058
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
AlliBalliBaba
wants to merge
38
commits into
main
Choose a base branch
from
refactor/cleanup-env
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
ca19712
Cleanup.
AlliBalliBaba 5b7fbab
Formatting.
AlliBalliBaba 0cebb74
Moves state to own module.
AlliBalliBaba 6dc3432
Refactoring.
AlliBalliBaba 7c8813e
Also moves php_headers test.
AlliBalliBaba 1436802
tests with -vet=off
AlliBalliBaba 7c79d7a
tests with ./go.sh vet before.
AlliBalliBaba f5bb4e0
Moves env logic to the C side.
AlliBalliBaba 06a329b
Cleanup.
AlliBalliBaba 87123bd
import C test.
AlliBalliBaba 4161623
adds turns state into string
AlliBalliBaba a36547b
suggestion: simplify exponential backoff (#1970)
AlliBalliBaba b05964f
Merge branch 'main' into refator/cleanup-c
AlliBalliBaba 42b2ffa
changes log to the documented version.
AlliBalliBaba 26e1408
go linting.
AlliBalliBaba 99e3b99
Merge branch 'main' into refactor/cleanup-env
AlliBalliBaba a116591
Merge branch 'main' into refator/cleanup-c
AlliBalliBaba bcd482a
Resolve merge conflicts.
AlliBalliBaba 69f3d8d
Merge branch 'main' into refactor/cleanup-env
AlliBalliBaba c4e6605
better success checks.
AlliBalliBaba b8288b9
Merge branch 'main' into refator/cleanup-c
AlliBalliBaba 2e1811c
Merge conflict fix.
AlliBalliBaba 0199038
Merge branch 'refator/cleanup-c' into refactor/cleanup-env
AlliBalliBaba 0e5964d
go fmt
AlliBalliBaba c116953
Merge branch 'main' into refactor/cleanup-env
AlliBalliBaba 1d52c10
go fmt
AlliBalliBaba dde7906
Fixes tests.
AlliBalliBaba 45a86af
clang-format
AlliBalliBaba c55dc34
makes wrong format even wronger.
AlliBalliBaba 016b63d
Adds clarification.
AlliBalliBaba 981b801
Removes test again as asan/msan will make insertions succeed.
AlliBalliBaba d3c5501
Adds test.
AlliBalliBaba 3aa35f9
Adds custom env to start of tests.
AlliBalliBaba c803d7c
Never clears main thread env.
AlliBalliBaba 3fc0d92
Adds putenv syntax check.
AlliBalliBaba e00a70e
Adds more tests.
AlliBalliBaba c578745
Fixes os env tests.
AlliBalliBaba 75a07f8
cleanup.
AlliBalliBaba File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Important to note that doing string cutting like this is binary safe, in contrast to the php-src implementation (null bytes will be forwarded and rejected by go's putenv)