Skip to content
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

feat(network): add DelegatePacketProxy for runtime PacketProxy replacement #28

Merged
merged 7 commits into from
Jul 20, 2023

Conversation

jyyi1
Copy link
Contributor

@jyyi1 jyyi1 commented Jul 15, 2023

This PR adds a new type called DelegatePacketProxy that allows users to switch the underlying PacketProxy at runtime. This can be useful in situations where the remote server environment changes and the current PacketProxy is no longer compatible. For example, if UDP traffic is no longer supported, the user can switch to the DNS-truncated PacketProxy without having to disconnect and reconnect.

Related PR: #27

@jyyi1 jyyi1 self-assigned this Jul 18, 2023
@jyyi1 jyyi1 marked this pull request as ready for review July 19, 2023 19:29
@jyyi1 jyyi1 requested a review from fortuna July 19, 2023 19:29
@jyyi1 jyyi1 changed the title feat(network): add DelegatePacketProxy for indirect proxy feat(network): add DelegatePacketProxy for indirect UDP proxy Jul 19, 2023
README.md Outdated Show resolved Hide resolved
@jyyi1 jyyi1 changed the title feat(network): add DelegatePacketProxy for indirect UDP proxy feat(network): add DelegatePacketProxy for runtime PacketProxy replacement Jul 19, 2023
@jyyi1 jyyi1 merged commit fc75f57 into main Jul 20, 2023
@jyyi1 jyyi1 deleted the junyi/delegate-packet-proxy branch July 20, 2023 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants