Files
bun.sh/src
Claude Bot 381411d298 Add SOCKS proxy support for Bun HTTP client
Implements SOCKS5 and SOCKS5h proxy support as requested in issue #16812.

This adds native SOCKS proxy functionality to Bun's HTTP client:
- Support for socks5:// and socks5h:// protocols
- Environment variable support (http_proxy, https_proxy)
- Direct proxy option support in fetch()
- Full SOCKS5 handshake implementation
- Integration with existing HTTP proxy infrastructure

Key changes:
- Add SOCKSProxy.zig implementing SOCKS5 protocol
- Update HTTPThread.zig to recognize SOCKS protocols
- Modify HTTP client to handle SOCKS proxy tunneling
- Add URL helpers for SOCKS protocol detection
- Include comprehensive test coverage

Resolves issue #16812

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-20 06:51:27 +00:00
..
2025-07-02 20:06:43 -07:00
2025-07-16 00:14:33 -07:00
2025-06-07 00:30:58 -07:00
2025-07-16 19:46:31 -07:00
2025-07-02 20:06:43 -07:00
2025-04-17 19:04:05 -07:00
2025-06-08 05:07:09 -07:00
2025-07-10 00:10:43 -07:00
2025-06-07 00:30:58 -07:00
2025-06-27 22:05:20 -07:00
2025-06-08 05:07:09 -07:00
2025-07-15 16:29:03 -07:00
2025-07-15 22:00:17 -07:00
2025-04-10 14:16:30 -07:00
2025-02-01 01:11:02 -08:00
2025-07-10 00:10:43 -07:00
2025-06-12 14:20:28 -07:00