proxy extract: always return scheme://ip:port
The plain ip:port output forced consumers to guess the protocol. The probe already knows it from the handshake, so return the full URL directly (socks5h/http/socks4). Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
@@ -197,7 +197,7 @@ make build # go build + vite build
|
||||
|
||||
- `/proxies/extract` 页生成密钥(`pk_xxx`,存 `proxy_keys` 表,绑定地区或「全部」),删除即吊销;
|
||||
- `GET /v1/proxy?key=<密钥>` 免登录:随机抽 15 个存活候选**并行**协议级探活(3s 超时),
|
||||
先活先回一行 `ip:port` 纯文本(加 `&fmt=url` 返回 `scheme://ip:port`,scheme 为握手实测的
|
||||
先活先回一行 `scheme://ip:port`(握手实测协议)(加 `&fmt=url` 返回 `scheme://ip:port`,scheme 为握手实测的
|
||||
socks5h/http/socks4);死的顺手标 `alive=0`,最多 4 批 / 20s 总超时,全死 503;
|
||||
- 每次成功提取 `used_count+1`、`last_used_at` 更新。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user