Files
bun.sh/test/js/bun/http
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
..
2023-11-10 23:00:27 -08:00
2024-03-03 19:26:27 -08:00
2024-10-18 01:14:42 +00:00
2023-03-07 12:22:34 -08:00
2023-03-07 12:22:34 -08:00
2023-03-22 15:01:01 -07:00