libgit2 / libgit2/libgit2sharp
An error thrown by a custom `RpcSmartSubtransport` is consumed and not propagated to the client code
未關閉
還沒有人認領這個 Issue。
- 主要語言
- C#
- 星號
- 3.5k
- 分支
- 925
- PR 合併指標
- 30 天內沒有已合併 PR
描述
If implementing a custom RpcSmartSubtransport that throws an exception during the read or write operation, the error message is ignored in the SmartSubtransportStream because it is not a NativeException.
Related PR with fix and repro test: https://github.com/libgit2/libgit2sharp/pull/2164
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從 SmartSubtransportStream 和 issue 中描述的 RpcSmartSubtransport 自訂讀寫路徑開始。檢視相關的 PR #2164 及其重現測試;完成的條件是自訂例外的訊息能夠傳到用戶端程式碼,且重現測試通過。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- csharp
- 領域
- tooling
- Issue 類型
- 缺陷
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100