Repository navigation
Expose socket fd for Bun.serve and node:http server sockets #29599
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
Closed
Closed
Changes from 18 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
6f01385
Expose socket fd for Bun.serve and node:http server sockets
robobun 1f88a30
Fix HTTPS fd, address review feedback
robobun 6feac5d
Address review: musl libc, fd>=0, doc accuracy
robobun 43edc1d
test: deduplicate requestFD/socket.fd test setup
robobun 159d57f
ci: retrigger darwin aarch64 (flaky grpc-js resolver test)
robobun ce5dcea
ci: retrigger (3 pre-existing flakes)
robobun a959ca5
fix(build): drop duplicate us_socket_get_fd decl, use uncheckedDowncast
robobun ddd9df8
fix(serve): requestFD must not panic on HTTP/3 requests
robobun b5b45fb
docs: note HTTP/3 always returns null; tighten FFI test gates
robobun 2df2d8f
fix(rust): add do_request_fd / get_fd Rust bindings for new codegen
robobun 8c73ffa
fix(node-http): use dynamicDowncast in fd getter for arbitrary receivers
robobun 8dfb02c
[autofix.ci] apply automated fixes
autofix-ci[bot] a7af30b
test(node-http): surface stderr in fd-getter regression diff
robobun a92c250
address review: explicit us_socket_get_fd decl, S008 deref in Respons…
robobun 61e4350
adapt do_request_fd to new CallFrame::arguments API
robobun a199c8d
tighten fd getter comments
robobun 2d7ff2a
pub(crate) visibility for fd helpers; drop comments restating file de…
robobun 6c281cd
guard get_fd with live_resp to avoid freed-socket deref after streame…
robobun a85fd16
drop stale libcPathForDlopen gate comments
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
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
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.