Skip to content

[feature] curl支持connect-to和resolve参数解析 #2924

Description

@ejfkdev

希望curl能支持connect-to和resolve参数

curl --connect-to api.example.com:443:localhost:8080 https://api.example.com/users
curl --resolve b.com:443:1.2.3.4  https://b.com/

--resolve host:port:address
改 DNS 解析结果

--connect-to host1:port1:host2:port2
改网络层连接目标

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions