mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 02:35:31 +00:00
aquatic_udp: validate requests in socket workers
Also, don't send error responses for unconnected requests
This commit is contained in:
parent
fc90c71a56
commit
7616df9686
11 changed files with 88 additions and 259 deletions
|
|
@ -55,7 +55,6 @@ pub fn run(config: Config) -> ::anyhow::Result<()> {
|
|||
loop {
|
||||
::std::thread::sleep(Duration::from_secs(config.cleaning.interval));
|
||||
|
||||
tasks::clean_connections(&state);
|
||||
tasks::update_access_list(&config, &state);
|
||||
|
||||
state.torrents.lock().clean(&config, &state.access_list);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue