-
Notifications
You must be signed in to change notification settings - Fork 462
feat: unify php_server logic #2499
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
46
commits into
main
Choose a base branch
from
refactor/phpserver
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.
+867
−655
Open
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
fba37f6
new phpserver
AlliBalliBaba 39db699
more cleanup
AlliBalliBaba 8e12812
linting
AlliBalliBaba 7e1ddb8
removes unnecessary code.
AlliBalliBaba 346887e
naming.
AlliBalliBaba 2ab4772
more unnecessary code
AlliBalliBaba 300e2e7
corerctly orders autoscaling chan registration
AlliBalliBaba 2c4f818
go fmt
AlliBalliBaba ddd6245
reuses split-path normalization logic.
AlliBalliBaba 19069bc
removes unnecessary locking.
AlliBalliBaba 53e30a8
improves assertions.
AlliBalliBaba 9b38f1d
pre-computes worker matches.
AlliBalliBaba 178df07
naming.
AlliBalliBaba c3a340f
removes unnecessary matchrelpath
AlliBalliBaba 8066a30
adds dedicated phpserver tests.
AlliBalliBaba adf2fed
refines tests.
AlliBalliBaba 48bfab4
adds missing test file.
AlliBalliBaba 8810352
fixes worker match logic and disallows duplicates again
AlliBalliBaba 7384a57
Merge branch 'main' into refactor/phpserver
AlliBalliBaba e0896d8
prepared env merge.
AlliBalliBaba 82eb1b4
fixes env logic
AlliBalliBaba 3b1bc73
suggestions by @dunglas
AlliBalliBaba c7ea1f7
fixes the module
AlliBalliBaba 4871ea4
cleanup
AlliBalliBaba 0401c62
closes admin body immediately
AlliBalliBaba 9b7967f
removes ServerOption.
AlliBalliBaba 6987c1e
fixes tests.
AlliBalliBaba ea35f2a
preallocates the fallback server
AlliBalliBaba 47f45ce
precomputes the fallback server
AlliBalliBaba ce095d4
error cleanup
AlliBalliBaba 48ac7d2
context cleanup.
AlliBalliBaba bb8ce0b
naming
AlliBalliBaba 94fe75e
linting
AlliBalliBaba e56326c
ensures context and logger must be defined
AlliBalliBaba 081ef2a
more context cleanup.
AlliBalliBaba e2a1e9d
makes original request logic more consistent.
AlliBalliBaba a81552d
pipeline test
AlliBalliBaba 17c2823
ensures $_ENV is populated for the test
AlliBalliBaba 9c987cc
refactors server public api and fixes restart configuration
AlliBalliBaba 0040560
final cleanup.
AlliBalliBaba a8917ee
better Server api
AlliBalliBaba 500ab79
resets test
AlliBalliBaba e7f597c
fixes startup failure issues
AlliBalliBaba e860449
logger cleanup
AlliBalliBaba 486a1bd
suggestions by @henderkes
AlliBalliBaba a30638e
idx fix as suggested by @alexandre-dauboi
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.
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.
Is POSTing an update to a caddy config with an existing index ever a use case @henderkes ? Then maybe we should only register the last incoming module with the index instead of the first one. The ones without index are now registered regardless.
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.
I'm not sure there. I know it's possible to PATCH the config, so it probably is, though I've never needed to do it outside of tests.