semigodking / redsocks

transparent redirector of any TCP/UDP connection to proxy
Apache License 2.0
1.17k stars 247 forks source link

如果服务器(就是说没有网络)没有返回请求,那这个fd岂不是一直增加得不到释放? #193

Open zy910622 opened 11 months ago

zy910622 commented 11 months ago

比如透过这个redsocks进行网络请求,但是请求获取了,建立了fd,但是这个请求得不到回复,那这个fd就一直把持着,岂不很容易因为网络不通导致的fd爆满?

semigodking commented 11 months ago

那么有没有redsocks2是差不多啊。50%的差别。

On Thu, Dec 14, 2023, 14:58 zy910622 @.***> wrote:

比如透过这个redsocks进行网络请求,但是请求获取了,建立了fd,但是这个请求得不到回复,那这个fd就一直把持着,岂不很容易因为网络不通导致的fd爆满?

— Reply to this email directly, view it on GitHub https://github.com/semigodking/redsocks/issues/193, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAP2XD7BBUCHJN3DJTR2AZ3YJKPR3AVCNFSM6AAAAABAUK4YICVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA2DCMBTHE2DKMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

zy910622 commented 11 months ago

还有个问题,当client端断开的后,client端的fd会一直把持fd,这种有修改过吗?