libgit2 / libgit2/libgit2sharp

repo.Network.Push() stops working with "failed to write chunk header" message

Open
#1,822 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
3.5k
Forks
925
PR merge metrics
No merged PRs in 30d

Description

repo.Network.Push() works great but after a number of pushes it stops with "failed to write chunk header" error message.

https://github.com/libgit2/libgit2/blob/aa4cd778b97d7271aa0ad12a4f9d492c443d5935/src/transports/winhttp.c#L647

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at repo.Network.Push() and inspect the referenced libgit2 src/transports/winhttp.c location around line 647. Reproduce the failure after repeated pushes and determine why the chunk header write stops succeeding. Done means the repeated-push case no longer produces the reported error and the behavior is verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, git
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.