-
Notifications
You must be signed in to change notification settings - Fork 385
Add tooling TCP/IP support to enable diagnostics on IOS/Android runtime platforms. #2050
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
josalem
merged 53 commits into
dotnet:main
from
lateralusX:lateralusX/add-eventpipe-tcp-support
Apr 20, 2021
Merged
Changes from 34 commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
4ca3c63
Add support for TCP and Unix Domain sockets.
lateralusX 6f016b1
Add Tcp support to IpcServerTransport.
lateralusX 0003639
Add support to bind any interfaces (ipv4,ipv6) and set address reuse.
lateralusX 27a0e56
Socket.Bind PAL already sets SO_REUSEADDR when needed.
lateralusX 1970a1b
Some renaming.
lateralusX 1e2f13c
Restructure/Align code.
lateralusX 6c7b7b0
Disable TcpIp for all existing tools.
lateralusX 3f27fca
Add dotnet-dsproxy tool.
lateralusX 5de89ab
Error handling and logging.
lateralusX 607dbf2
Wait on completion of running proxy task in parallell with accept.
lateralusX 4892d56
Improve detecting runtime shutdown.
lateralusX 3a4e111
Align build flag with native runtime TCP PAL build flag.
lateralusX d1af66b
Reflect advertise package size in proxy stats.
lateralusX d76a587
Logging, commandline and code restructure.
lateralusX 5a7fd92
Remove TCP/IP suport for tooling (only available in dotnet-dsproxy).
lateralusX 8569672
Fix some naming.
lateralusX b86805c
Fix netcore2.1 build.
lateralusX 6596c2f
Reduce proxy TCP delay and add additional debug logging.
lateralusX a1945c7
Adding additional explicit Dispose calls.
lateralusX 941bc5b
Switch into using instead of explicit dispose.
lateralusX 72b7f35
Use proxy process ID in advertise message.
lateralusX 8c12bc6
Adjustments after rebase.
lateralusX 4172948
Add ability to retry client connection after timeout.
lateralusX c6c918d
Restructure code for better reuse implementing server<->server proxy.
lateralusX fa35020
Rename file.
lateralusX cbce1e6
Adjust shutdown logging.
lateralusX 861e29a
Add server-server proxy mode.
lateralusX 35bbcc5
Parallel accept of ipc and tcp connections, re-worked retry loop.
lateralusX c73d88d
Restructure ipc client retry logic.
lateralusX a24742c
Only re-create transport socket/pipe when not explicitly canceled.
lateralusX dd78b21
Logging additional warnings.
lateralusX f924217
Delay client ipc retries on socket failures.
lateralusX d5d68cf
Move DiagnosticServerProxy classes into NETCore.Client library.
lateralusX 7e56eba
Adjusting some names.
lateralusX a71d695
Adjusted logging capabilities.
lateralusX f16f8a5
Rename proxy -> router.
lateralusX e2f6ead
Added dotnet-dsrouter to solution file and set IsShipping to false.
lateralusX 26545d1
Review feedback.
lateralusX 2c97d99
Renamed a couple of files to match rename of classes.
lateralusX 5a3cffa
Move EndPoint into bind/connect/connectasync calls, drop IpcTcpSocket.
lateralusX 3e2c6de
File rename/split due to class refactoring.
lateralusX 101242d
Move CreateNewSocketServer call away from base class.
lateralusX 7f9bbbd
Switch to ILogger.
lateralusX 019e022
Extend transport callback with EndPoint, used to bind port 0 in dsrou…
lateralusX 4d7822a
Add ability to launch process through dsrouter relaying TcpServerAddr…
lateralusX 9bc0e1d
Suspend child process for both server-server and client-server modes.
lateralusX d20f0b5
Unix Domain Socket needs address family on create.
lateralusX 5a722e2
Set DOTNET_DiagnosticPorts unconditionally.
lateralusX 73373a1
Review feedback.
lateralusX 184ca11
Fix parsing of *:0 in ParseTcpIpEndPoint.
lateralusX c3b1564
Adjust timeouts + detect disconnected ipc client while waiting for tc…
lateralusX fc326c8
Detect both read/write state in IsStreamConnected.
lateralusX ff7d474
Split debug logging into debug and trace log levels.
lateralusX 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
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.