Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
7f338cc
[metric] fix dynamic summary refresh
poor-circle Aug 19, 2025
dd69271
Merge branch 'alibaba:main' into main
shenxuebing Aug 23, 2025
1ee6753
Merge branch 'alibaba:main' into main
shenxuebing Sep 16, 2025
47412c9
feat: rpc http support ntls
shenxuebing Sep 17, 2025
ab36003
feat: rpc http support ntlsMerge branch 'alibaba:main' into main
shenxuebing Sep 17, 2025
5e7c776
feat: add ntls example
shenxuebing Sep 17, 2025
e285956
delete
shenxuebing Sep 17, 2025
920640a
style: Clang Format
shenxuebing Sep 17, 2025
6037b4e
feat: rpc and http support RFC 8998
shenxuebing Sep 17, 2025
3121bc0
style: Clang Format
shenxuebing Sep 17, 2025
9910fa2
Merge branch 'main' into main
shenxuebing Nov 24, 2025
95912b5
Add NTLS CI testing workflow and CMake configuration
shenxuebing Nov 24, 2025
e53a12a
Merge branch 'main' of https://github.com/shenxuebing/yalantinglibs
shenxuebing Nov 24, 2025
4533f66
Update certificate path references in NTLS examples to point to Tongs…
shenxuebing Nov 24, 2025
fd7ca7d
Update CMake configuration and adjust NTLS example certificate paths …
shenxuebing Nov 24, 2025
62f03c5
Merge branch 'alibaba:main' into main
shenxuebing Nov 25, 2025
0ba4f97
Refactor CMake configuration to remove unnecessary C language support…
shenxuebing Nov 25, 2025
ab78886
fix:Remove conditional compilation for NTLS support in common_service…
shenxuebing Nov 25, 2025
fd58e83
Enhance CMake configuration by enabling C language support for NTLS c…
shenxuebing Nov 25, 2025
a37fbaa
fix:Refactor SSL context initialization in coro_http_client.hpp to re…
shenxuebing Nov 25, 2025
c12d6c9
format
qicosmos Nov 26, 2025
7416277
Merge branch 'main' into main
qicosmos Nov 26, 2025
3cb2d75
Add NTLS support documentation for yaLanTingLibs
shenxuebing Nov 27, 2025
07c02ce
Remove commented-out SSL NTLS initialization function in coro_rpc_ser…
shenxuebing Nov 27, 2025
bc65cc6
Merge branch 'main' into main
shenxuebing Nov 27, 2025
f76f58d
Code with comments removed
shenxuebing Nov 27, 2025
506a43e
Add comprehensive NTLS support documentation for yaLanTingLibs, detai…
shenxuebing Nov 27, 2025
fb68dba
Merge branch 'alibaba:main' into main
shenxuebing Nov 27, 2025
a8b0f7e
Merge branch 'alibaba:main' into main
shenxuebing Nov 28, 2025
e58a582
Merge branch 'alibaba:main' into main
shenxuebing Nov 30, 2025
4d80c8d
Merge branch 'alibaba:main' into main
shenxuebing Dec 4, 2025
876966d
Merge branch 'alibaba:main' into main
shenxuebing Dec 16, 2025
f471803
Merge branch 'alibaba:main' into main
shenxuebing Jan 14, 2026
e62f401
feat: add RSA mutual authentication support for RPC and HTTP
shenxuebing Jan 20, 2026
f8348b4
Merge branch 'alibaba:main' into main
shenxuebing Jan 20, 2026
6a51901
Merge branch 'main' of https://github.com/shenxuebing/yalantinglibs
shenxuebing Jan 20, 2026
5826667
feat:add test and doc
shenxuebing Feb 3, 2026
457ce63
Merge branch 'alibaba:main' into main
shenxuebing Feb 3, 2026
3aede39
fix:test
shenxuebing Feb 3, 2026
c542709
Merge branch 'main' of https://github.com/shenxuebing/yalantinglibs
shenxuebing Feb 3, 2026
4e189d3
fix:test bug
shenxuebing Feb 3, 2026
2a720bd
fix:test bug
shenxuebing Feb 3, 2026
700f69a
fix:test bug
shenxuebing Feb 4, 2026
c26bc37
Merge branch 'alibaba:main' into main
shenxuebing Mar 24, 2026
95b2726
Merge branch 'alibaba:main' into main
shenxuebing Apr 9, 2026
76aae02
fix: SSL mutual authentication tests and certificate configuration
shenxuebing Apr 8, 2026
44146e8
fix: SSL mutual authentication compatibility with OpenSSL 3.0 and TLS…
shenxuebing Apr 9, 2026
4902599
style: fix clang-format issues and update docs
shenxuebing Apr 9, 2026
e53159b
fix: restore SSL mutual authentication source code changes
shenxuebing Apr 9, 2026
f723d8a
feat: add SSL mutual authentication support
shenxuebing Apr 9, 2026
5b6ea5b
fix: restore original fake_server certs and update mutual auth cert g…
shenxuebing Apr 10, 2026
a3a0b59
fix: use separate mutual_ prefixed certs for mutual auth tests
shenxuebing Apr 10, 2026
bc61753
fix: restore main branch SSL certs and use server.crt for one-way aut…
shenxuebing Apr 10, 2026
a720bac
fix: use server.crt instead of ca.crt in ServerTester SSL init
shenxuebing Apr 10, 2026
1b48d0e
Merge dev into main: SSL mutual auth + cert fixes
shenxuebing Apr 10, 2026
50406b2
fix: resolve SSL key mismatch in coro_http tests
shenxuebing Apr 10, 2026
f75e9b1
style: apply clang-format to modified files
shenxuebing Apr 10, 2026
47cb25b
feat: add mutual authentication init_ssl to coro_http_client
shenxuebing Apr 13, 2026
7849500
fix: remove duplicate init_ssl function in coro_http_client
shenxuebing Apr 13, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
119 changes: 60 additions & 59 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,59 +1,60 @@
# Prerequisites
*.d

# Compiled Object files
*.slo
*.lo
*.o
*.obj

# Precompiled Headers
*.gch
*.pch

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Fortran module files
*.mod
*.smod

# Compiled Static libraries
*.lai
*.la
*.a
*.lib

# Executables
*.exe
*.out
*.app

#
.idea
cmake-*
*build*
.fleet
.vs
out
.vscode
.cache
.coverage
.coverage_lcov
.coverage_llvm_cov
doxygen-awesome-css
html
CMakeUserPresets.json
.DS_Store
node_modules
/CMakeSettings.json

# Bazel
bazel-*
!BUILD.bazel
cdb.json

# website
website/docs/zh/*/images/
# Prerequisites
*.d

# Compiled Object files
*.slo
*.lo
*.o
*.obj

# Precompiled Headers
*.gch
*.pch

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Fortran module files
*.mod
*.smod

# Compiled Static libraries
*.lai
*.la
*.a
*.lib

# Executables
*.exe
*.out
*.app

#
.idea
cmake-*
*build*
.fleet
.vs
out
.vscode
.cache
.coverage
.coverage_lcov
.coverage_llvm_cov
doxygen-awesome-css
html
CMakeUserPresets.json
.DS_Store
node_modules
/CMakeSettings.json

# Bazel
bazel-*
!BUILD.bazel
cdb.json

# website
website/docs/zh/*/images/
Testing/
145 changes: 145 additions & 0 deletions docs/NTLS_CI_CHECKLIST.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
# NTLS CI 快速检查清单

## ✅ 如何确认CI使用了你的配置

### 步骤1:确认文件已提交
```bash
# 在你的fork仓库中检查
git log --oneline --all -- .github/workflows/ntls_test.yml
# 应该能看到你提交的记录
```

### 步骤2:在GitHub上检查

#### 方法A:在PR页面查看(推荐)
1. 打开你的PR页面
2. 向下滚动到"Checks"部分
3. **如果看到 "NTLS Test (Tongsuo)" 工作流** ✅
- 说明CI正在使用你的配置
- 点击可以查看详细运行情况

#### 方法B:在Actions页面查看
1. 进入**你的fork仓库**(不是主仓库)
2. 点击顶部的 **"Actions"** 标签
3. **如果左侧列表中有 "NTLS Test (Tongsuo)"** ✅
- 说明配置已生效
4. 点击工作流名称,查看运行历史

#### 方法C:查看CI日志确认
1. 在PR的"Checks"部分,点击 "NTLS Test (Tongsuo)"
2. 点击具体的job(如 "ntls_test_ubuntu")
3. 展开 "Configure CMake with NTLS" 步骤
4. **在日志中查找 `YLT_ENABLE_NTLS: ON`** ✅
- 如果看到这个输出,说明使用了你的配置

### 步骤3:验证关键特征

你的CI配置应该包含以下特征,在日志中可以验证:

- ✅ **编译Tongsuo库** - 日志中应该有 "Build and install Tongsuo" 步骤
- ✅ **配置CMake启用NTLS** - 日志中应该有 `-DYLT_ENABLE_NTLS=ON`
- ✅ **编译NTLS示例** - 日志中应该有 "Verify NTLS examples are built" 步骤
- ✅ **使用Tongsuo路径** - 日志中应该有 `/usr/local/tongsuo` 相关路径

## 🔍 如何区分fork的CI和主仓库的CI

### 关键区别

| 特征 | Fork的CI | 主仓库的CI |
|------|---------|-----------|
| 工作流名称 | "NTLS Test (Tongsuo)" | 不存在(除非他们也添加了) |
| 显示位置 | 你的fork仓库的Actions页面 | 主仓库的Actions页面 |
| PR中的显示 | 会显示在你的PR中 | 不会显示(除非主仓库有) |

### 确认方法

1. **查看工作流来源**
- 在PR的"Checks"部分,每个检查旁边会显示来源
- 如果显示你的用户名,说明是fork的CI
- 如果显示主仓库名,说明是主仓库的CI

2. **检查工作流文件位置**
- Fork的CI:`.github/workflows/ntls_test.yml` 在你的fork中
- 主仓库的CI:`.github/workflows/ntls_test.yml` 在主仓库中

## 🚨 常见问题

### Q: 看不到CI运行怎么办?

**检查清单:**
- [ ] 确认 `.github/workflows/ntls_test.yml` 文件已提交
- [ ] 确认文件路径正确(`.github/workflows/` 目录)
- [ ] 检查YAML语法是否正确(可以在线验证)
- [ ] 确认你修改的文件符合触发条件(`paths:` 部分)

**解决方法:**
```bash
# 重新提交CI文件
git add .github/workflows/ntls_test.yml
git commit -m "Add NTLS CI workflow"
git push
```

### Q: CI运行但失败了?

**查看日志:**
1. 点击失败的CI运行
2. 查看红色标记的步骤
3. 展开查看详细错误信息

**常见原因:**
- Tongsuo编译失败(网络问题、依赖缺失)
- CMake找不到Tongsuo(路径配置问题)
- 编译错误(代码问题)

### Q: 如何手动触发CI?

1. 进入你的fork仓库
2. 点击 "Actions" 标签
3. 选择 "NTLS Test (Tongsuo)" 工作流
4. 点击 "Run workflow" 按钮
5. 选择分支,点击绿色按钮

### Q: 不确定是否使用了我的配置?

**验证方法:**
1. 查看CI日志中的CMake配置步骤
2. 确认看到 `YLT_ENABLE_NTLS: ON`
3. 确认看到Tongsuo相关的路径和配置
4. 如果看到这些,说明使用了你的配置 ✅

## 📝 快速验证命令

在你的fork仓库中运行:

```bash
# 1. 检查文件是否存在
ls -la .github/workflows/ntls_test.yml

# 2. 检查文件内容
head -20 .github/workflows/ntls_test.yml

# 3. 检查是否已提交
git ls-files .github/workflows/ntls_test.yml

# 4. 查看提交历史
git log --oneline -- .github/workflows/ntls_test.yml
```

## 🎯 成功标志

如果以下所有条件都满足,说明CI正确使用了你的配置:

- ✅ PR的"Checks"部分显示 "NTLS Test (Tongsuo)" 工作流
- ✅ 工作流运行成功(绿色对勾)
- ✅ CI日志中显示 `YLT_ENABLE_NTLS: ON`
- ✅ CI日志中显示Tongsuo编译和安装步骤
- ✅ CI日志中显示NTLS示例编译成功

## 📞 需要帮助?

如果仍然无法确认,可以:
1. 查看完整的CI日志
2. 检查GitHub Actions的运行历史
3. 在主仓库的PR中询问维护者

Loading
Loading