Link easytier-mini downloads and fix UDP admission test ordering (#2638)

This commit is contained in:
KKRainbow authored and GitHub committed 2026-10-07 01:03:35 +08:00
1 parent 8b7f1f0196
commit 728ba94b50
4 files changed
+14 -9

No files matched your search

+2
View File
@@ -71,6 +71,8 @@ cargo install --git https://github.com/EasyTier/EasyTier.git easytier
[Install pre-built binary](https://github.com/EasyTier/EasyTier/releases) (Recommended, All platforms supported) [Install pre-built binary](https://github.com/EasyTier/EasyTier/releases) (Recommended, All platforms supported)
For a smaller executable, try [easytier-mini](https://github.com/EasyTier/easytier-mini), which supports basic TCP/UDP networking. See its documentation for supported features and usage.
[Install via Docker](https://easytier.cn/en/guide/installation.html#installation-methods) [Install via Docker](https://easytier.cn/en/guide/installation.html#installation-methods)
[Install OpenWrt ipk package](https://github.com/EasyTier/luci-app-easytier) [Install OpenWrt ipk package](https://github.com/EasyTier/luci-app-easytier)
+2
View File
@@ -71,6 +71,8 @@ cargo install --git https://github.com/EasyTier/EasyTier.git easytier
[下载预编译文件](https://github.com/EasyTier/EasyTier/releases)(推荐,支持所有平台) [下载预编译文件](https://github.com/EasyTier/EasyTier/releases)(推荐,支持所有平台)
需要更小的可执行文件,可使用 [easytier-mini](https://github.com/EasyTier/easytier-mini):支持基础 TCP/UDP 组网,功能范围与使用方式见其文档。
[通过 Docker 安装](https://easytier.cn/guide/installation.html#%E5%AE%89%E8%A3%85%E6%96%B9%E5%BC%8F) [通过 Docker 安装](https://easytier.cn/guide/installation.html#%E5%AE%89%E8%A3%85%E6%96%B9%E5%BC%8F)
[安装 OpenWrt ipk 软件包](https://github.com/EasyTier/luci-app-easytier) [安装 OpenWrt ipk 软件包](https://github.com/EasyTier/luci-app-easytier)
+5
View File
@@ -6,6 +6,11 @@ dynamic IPv4 allocation, the smoltcp userspace path and STUN/UDP hole-punching
core with the full binary. It includes AES-GCM so its default encryption core with the full binary. It includes AES-GCM so its default encryption
setting interoperates with the full binary's default configuration. setting interoperates with the full binary's default configuration.
Download [pre-built binaries](https://github.com/EasyTier/easytier-mini/releases)
from the separate [easytier-mini repository](https://github.com/EasyTier/easytier-mini),
which handles builds and releases. The source code is maintained here in the
main EasyTier repository.
Build it with: Build it with:
```sh ```sh
+5 -9
View File
@@ -892,15 +892,8 @@ mod tests {
response_tasks.insert(replacement.clone(), pending_response_task(replacement_slot)); response_tasks.insert(replacement.clone(), pending_response_task(replacement_slot));
drop(admission_guard); drop(admission_guard);
tokio::time::timeout(Duration::from_secs(1), async { // Release the test's permit reference and wait for the full eviction;
while clients.contains_key(&replacement) { // the client and response-task entries are removed separately.
tokio::task::yield_now().await;
}
})
.await
.unwrap();
assert!(!response_tasks.contains_key(&replacement));
drop(replacement_client); drop(replacement_client);
let second_slot = tokio::time::timeout(Duration::from_secs(1), second) let second_slot = tokio::time::timeout(Duration::from_secs(1), second)
.await .await
@@ -908,6 +901,9 @@ mod tests {
.unwrap() .unwrap()
.unwrap(); .unwrap();
assert!(!clients.contains_key(&replacement));
assert!(!response_tasks.contains_key(&replacement));
drop(second_slot); drop(second_slot);
tokio::task::yield_now().await; tokio::task::yield_now().await;
assert_eq!(slots.available_permits(), 1); assert_eq!(slots.available_permits(), 1);