delvedor / hpagent

A ready to use http and https agent for working with proxies that keeps connections alive!
MIT License
182 stars 36 forks source link

feat: add-connect-timeout-support #42

Closed dickeylth closed 2 years ago

dickeylth commented 2 years ago

The proxy maybe unavailable and keep got holding without connect timeout, which may keep the program hang, add support for agent connect timeout and throw EPROXYTIMEOUT error for caller to process timeout issue.

delvedor commented 2 years ago

Sorry, I've missed this one. Closing as https://github.com/delvedor/hpagent/pull/66 implements this.