Repository navigation
[ php-wasm ] Replace Node WebSocket proxies with TCP adapters #4569
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
brandonpayton
wants to merge
34
commits into
trunk
Choose a base branch
from
ws-proxy-client-auth-v1
base: trunk
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
34 commits
Select commit
Hold shift + click to select a range
f34feb0
Revert "[ php-wasm ] Reject browser clients in the outbound networkin…
brandonpayton acdb9a4
[ php-wasm ] Open outbound TCP connections without a local server
brandonpayton 1052308
[ php-wasm ] Keep outboundNetworkProxyServer as a deprecated option
brandonpayton 4bc6dcf
[ php-wasm ] Name the return type of createOutboundTcpSocketClass
brandonpayton 0f0f513
[ php-wasm ] Open outbound sockets before the TCP connection completes
brandonpayton 6cabf32
[ php-wasm ] Accept inbound TCP connections without a WebSocket bridge
brandonpayton 45eef64
[ php-wasm ] Rename the socket spec to match tcp-socket.ts
brandonpayton 496f41f
[ php-wasm ] Release TCP sockets when the runtime exits
brandonpayton 0efe03f
[ php-wasm ] Stop on listen errors and listen on IPv4 for hostnames
brandonpayton e5e7509
[ php-wasm ] Don't listen after a server closes during its hostname l…
brandonpayton 8420138
[ php-wasm ] Run the networking tests with Asyncify in CI
brandonpayton a2a1bf7
[ php-wasm ] Test networking in the built npm packages
brandonpayton f1aaf8b
[ php-wasm ] Refuse to run the Asyncify networking tests with JSPI
brandonpayton 7bdeba1
[ php-wasm ] Drop data after PHP closes a TCP socket
brandonpayton 8dbdf76
[ php-wasm ] Avoid an Asyncify accept() crash in the inbound test
brandonpayton 6ea6cf8
[ php-wasm ] Fix reset handling in the TCP socket adapters
brandonpayton 05f42cd
[ php-wasm ] Make the runtime exit test check exit cleanup directly
brandonpayton 264dabb
[ php-wasm ] Explain the less obvious choices in the TCP adapters
brandonpayton 22bb66c
[ php-wasm ] Test the missing-address check deterministically
brandonpayton 37322d0
[ php-wasm ] Drop data after close without resetting the connection
brandonpayton 4c3e36e
[ php-wasm ] Keep sending a closed socket's writes when the runtime e…
brandonpayton 34bfb90
[ php-wasm ] Tighten exit cleanup tests and comments
brandonpayton 1d7043e
[ php-wasm ] Release every network handle even if one fails
brandonpayton 8f697e7
[ php-wasm ] Stop the timeout test from breaking setTimeout for later…
brandonpayton 0167dda
[ php-wasm ] Keep a closeNetworkConnections option passed to withNetw…
brandonpayton b748716
[ php-wasm ] Drain TCP writes and release cleanup timers on exit
brandonpayton d73cccc
[ php-wasm ] Test that exit unrefs every socket, and explain tradeoffs
brandonpayton c57cf61
[ php-wasm ] State what a released socket retains, and for how long
brandonpayton 20d233b
[ php-wasm ] Say when stream_select() reports a listening socket ready
brandonpayton b236bec
[ php-wasm ] Wait for PHP's connections before testing exit unrefs them
brandonpayton 60d31f5
[ php-wasm ] Don't wake PHP when the runtime exits
brandonpayton f64d33a
[ php-wasm ] Cancel network waits before releasing exited runtimes
brandonpayton eeb449b
[ php-wasm ] Keep exit handling in the Node TCP adapters
brandonpayton 0995bd5
[ php-wasm ] Make the exit guard tests fail without the guard
brandonpayton 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
117 changes: 0 additions & 117 deletions
117
packages/php-wasm/node/src/lib/networking/inbound-tcp-to-ws-proxy.ts
This file was deleted.
Oops, something went wrong.
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.