fast-socks5 icon indicating copy to clipboard operation
fast-socks5 copied to clipboard

Add client config `request_timeout`

Open amaury1093 opened this issue 2 years ago • 2 comments

I saw there's a request_timeout on the server config, that makes sense.

However, I think it can be useful to also set a client config request_timeout. So basically, if the client on is set, then take that as timeout, or else default to the server config's request_timeout.

Does that make sense to add to this lib?

amaury1093 avatar Jan 11 '22 10:01 amaury1093

Hey @amaurym,

Yes it does make sense, feel free to send a PR.

dizda avatar Jan 19 '22 03:01 dizda

I'm sending a PR your wait. Defintely something that I would like to have as well.

GlenDC avatar May 05 '22 11:05 GlenDC