huggingface / frp

FRP Fork
Apache License 2.0
112 stars 17 forks source link

Set 72 hour limit for all incoming TCP connections #2

Closed abidlabs closed 1 year ago

abidlabs commented 1 year ago

On the gradio client, we currently limit all connections to expire after 72 hours. This is for several reasons:

However, limiting on the client side is not foolproof as someone can edit the gradio library to remove this 72 hour restriction. It would be better to limit the TCP connections on the server side.

@XciD would you be able to take a look at this whenever you have a chance -- as discussed, this is probably not urgent

github-actions[bot] commented 1 year ago

Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

XciD commented 1 year ago

Done here: https://github.com/huggingface/frp/pull/1/commits/0e4a1d0644e5c0592e30b1768a5b3081ca535cd4