-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Bun.serve: support directory tree routes via { dir: "..." }
#36156
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
Merged
+1,743
−118
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
7d8f790
Bun.serve: support directory tree routes via { dir: "..." }
robobun e212640
[autofix.ci] apply automated fixes
autofix-ci[bot] d5911d5
DirectoryRoute: address review feedback
robobun 3f6ebb2
[autofix.ci] apply automated fixes
autofix-ci[bot] 5139769
DirectoryRoute: statCache option, cache-exhaustion and adversarial tests
robobun 11b07d3
[autofix.ci] apply automated fixes
autofix-ci[bot] c432c4d
DirectoryRoute: 404 on miss, single fstat, PATH_MAX bound, precedence…
robobun 61d8e79
DirectoryRoute tests: hoist raw() helper, shrink cache test; FileRout…
robobun c5ac6bf
DirectoryRoute: reject :, tighten subpath bound, fix clippy redundant…
robobun 5975480
DirectoryRoute: store the full path in stat-cache entries
robobun 077ce7b
[autofix.ci] apply automated fixes
autofix-ci[bot] b1bafad
Scope NO_MAGICLINKS to openat2_in_root; restore precondition why-comm…
robobun 5255d0b
DirectoryRoute: track stat-cache path heap bytes for memory_cost()
robobun 302861d
DirectoryRoute: Windows fixes, provenance fix, docs
robobun 4c7c633
[autofix.ci] apply automated fixes
autofix-ci[bot] e16de34
DirectoryRoute: 256 cache slots, reject :params, clippy, POSIX-only N…
robobun 920ba66
DirectoryRoute: accept absolute-form request-targets
robobun 1e703e6
DirectoryRoute: case-insensitive scheme match for absolute-form
robobun 0029592
DirectoryRoute: strip ? before absolute-form authority (route precede…
robobun 64f62f7
[autofix.ci] apply automated fixes
autofix-ci[bot] c1804c6
DirectoryRoute: require canonical paths (route-precedence parity)
robobun 0941cf5
[autofix.ci] apply automated fixes
autofix-ci[bot] b01e966
DirectoryRoute: close remaining route-precedence bypasses
robobun ff44afe
DirectoryRoute: reject trailing slash on regular files
robobun d4e5ad8
DirectoryRoute: drop scratch buffer; reject // in route path
robobun 2266474
Merge branch 'main' into farm/a0d36689/serve-directory-routes
Jarred-Sumner 5276989
docs: note case-insensitive filesystem caveat for directory routes
robobun a28e6c9
DirectoryRoute: reject lone-slash suffix; skip alt-svc on H3
robobun f4bebf5
test: reduce stat-cache exhaustion batch size to 32
robobun 72cd1b5
DirectoryRoute: drop redundant Content-Length on 301 redirect
robobun 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.
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.