libgit2 / libgit2/libgit2sharp
SSL error; syscall failure: Connection reset by peer when push 1.3 GB filesize
還沒有人認領這個 Issue。
- 主要語言
- C#
- 星號
- 3.5k
- 分支
- 925
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Reproduction steps
When doing git push of file with size 1.3 GB, got this error:
SSL error: syscall failure: Connection reset by peer
at LibGit2Sharp.Core.Ensure.HandleError(Int32 result) in //LibGit2Sharp/Core/Ensure.cs:line 154
at LibGit2Sharp.Core.Proxy.git_remote_push(RemoteHandle remote, IEnumerable1 refSpecs, GitPushOptions opts) in /_/LibGit2Sharp/Core/Proxy.cs:line 2253 at LibGit2Sharp.Network.Push(Remote remote, IEnumerable1 pushRefSpecs, PushOptions pushOptions) in //LibGit2Sharp/Network.cs:line 381
Anyone else having this issue?
Version of LibGit2Sharp: 0.27.2
Operating system(s) tested; .NET runtime tested
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
先檢視第 154 行的 Core/Ensure.cs、第 2253 行的 Core/Proxy.cs 和第 381 行的 Network.cs,然後使用 LibGit2Sharp 0.27.2 重現 1.3 GB 的 push。在判定 reset 是程式庫缺陷還是環境特定的傳輸失敗之前,必須先確立缺少的作業系統與 .NET 執行階段詳細資訊。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- csharp, git
- 領域
- devtools, networking
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100