Skip to content

chore(proxy): assign proper connector names for Tunnel and Socks - #815

Merged
0x676e67 merged 3 commits into
mainfrom
chore
Jul 18, 2025
Merged

chore(proxy): assign proper connector names for Tunnel and Socks#815
0x676e67 merged 3 commits into
mainfrom
chore

Conversation

@0x676e67

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR renames connector types and variables to follow more consistent naming conventions for proxy connectors. The changes improve code clarity by using more descriptive names that better indicate the purpose of each component.

  • Renamed Tunnel to TunnelConnector and Socks to SocksConnector for consistency
  • Renamed SocksVersion to Version to reduce redundancy
  • Updated variable names like proxy to proxy_dst for better clarity

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
src/core/client/connect/proxy/tunnel.rs Renamed Tunnel struct to TunnelConnector and updated documentation
src/core/client/connect/proxy/socks.rs Renamed Socks to SocksConnector, SocksVersion to Version, and updated parameter names
src/core/client/connect/proxy/mod.rs Updated public exports to reflect the new type names
src/connect.rs Updated imports and usage of renamed types throughout the connector implementation

Comment thread src/core/client/connect/proxy/socks.rs Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@0x676e67
0x676e67 merged commit 22d2be1 into main Jul 18, 2025
7 checks passed
@0x676e67
0x676e67 deleted the chore branch July 18, 2025 23:30
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