Commit c560c4e
committed
feat: complete SOCKS5 ProxyAgent integration (Phase 2)
Integrate SOCKS5 proxy support into the existing ProxyAgent class:
- Add SOCKS5 protocol detection (socks5: and socks: schemes)
- Use Socks5ProxyWrapper for SOCKS5 connections instead of HTTP CONNECT
- Properly handle SOCKS5 proxy lifecycle (no proxy client needed)
- Pass through authentication credentials to SOCKS5 wrapper
- Disable CONNECT tunneling for SOCKS5 proxies
This completes Phase 2 of the SOCKS5 implementation. Note: Current
implementation has architectural limitation requiring Pool dispatcher
instead of Client for proper connection lifecycle management.
Resolves: #42601 parent 9c8dd9c commit c560c4e
1 file changed
Lines changed: 30 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
132 | 133 | | |
133 | 134 | | |
134 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
135 | 149 | | |
136 | 150 | | |
137 | 151 | | |
| |||
141 | 155 | | |
142 | 156 | | |
143 | 157 | | |
144 | | - | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
145 | 167 | | |
146 | 168 | | |
147 | 169 | | |
148 | 170 | | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
149 | 178 | | |
150 | 179 | | |
151 | 180 | | |
| |||
0 commit comments