Skip to content

Commit e5beace

Browse files
committed
docs: name the openkal-musl issue for name resolution on Windows; record what the plan found
1 parent 49cc935 commit e5beace

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

‎.agents/docs/exec-plan-0.3.4-cancel.md‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,13 @@ T0 计划(本文)+ 设计文档纳入 PR
8585

8686
某个平台上测试编不过时,**修测试,不删平台**。确实做不到的,单独开 issue 记下原因,并在 job 里写清楚。
8787

88-
## 5. 验收
88+
## 5. 过程中发现并修复
89+
90+
- **x86_64-windows-musl 上 TLS 从来没通过。** mbedTLS 只有识别到 glibc 才用 `getrandom`,否则读 `/dev/urandom`,而 openkal-windows 没有这个文件。在 musl 平台上改用 musl 的 `getentropy`(`cfg(c-abi = "musl")` → `TINYHTTPS_GETENTROPY`)🔁。
91+
- **Windows 目标没有名字解析**(openkal 没有解析器接口),已登记 [openkal-musl#46](https://github.com/mcpplibs/openkal-musl/issues/46),README 已注明。
92+
- **`test_pool` 在 Windows 上编不过**(`<windows.h>` 的 `max` 宏),因为以前从没在 Windows 上编译过;已修复。
93+
94+
## 6. 验收
8995

9096
- [ ] PR #23 的 CI 全绿(上表全部 job)
9197
- [ ] 自审:H1、M1、M2、D1、D2 全部落地;PR 描述更新

‎README.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,9 @@ beneath and not from this library:
184184
completes or fails before it returns. A stop token is checked before the
185185
connect, not during it.
186186
- On Windows there is no name resolution: openkal has no resolver interface,
187-
and musl's reads `/etc/resolv.conf`, which Windows does not have. A URL with
188-
an address in it connects.
187+
and musl's reads `/etc/resolv.conf`, which Windows does not have
188+
([openkal-musl#46](https://github.com/mcpplibs/openkal-musl/issues/46)). A URL
189+
with an address in it connects.
189190

190191
CI runs `examples/openkal` for x86_64-linux-gnu, x86_64-linux-musl,
191192
aarch64-linux-musl (under qemu) and x86_64-windows-musl (under wine).

0 commit comments

Comments
 (0)