libgit2 / libgit2/libgit2sharp
"The server returned an invalid or unrecognized response" when clone repository larger than 2GB
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 3.5k
- Forks
- 925
- PR merge metrics
- No merged PRs in 30d
Description
Stack trace:
at LibGit2Sharp.Core.Ensure.HandleError(Int32 result) in C:\projects\libgit2sharp\LibGit2Sharp\Core\Ensure.cs:line 154
at LibGit2Sharp.Core.Proxy.git_clone(String url, String workdir, GitCloneOptions& opts) in C:\projects\libgit2sharp\LibGit2Sharp\Core\Proxy.cs:line 356
at LibGit2Sharp.Repository.Clone(String sourceUrl, String workdirPath, CloneOptions options) in C:\projects\libgit2sharp\LibGit2Sharp\Repository.cs:line 732
at GitTestLargeRepo.Program.Main(String[] args) in c:\users\vaskovskiy\documents\visual studio 2017\Projects\GitTestLargeRepo\GitTestLargeRepo\Program.cs:line 17
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at Repository.cs line 732 and follow the clone path through Proxy.cs line 356 to Ensure.cs line 154. Reproduce the failure with a repository larger than 2GB and inspect how the native clone result becomes this error. Done means cloning such a repository no longer returns the invalid or unrecognized response.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, git
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100