Hi.

I 'think' this is the same thing as my problem.

I have the same issue. To reproduce make sure that the push is bigger
than 1 MiB (or whatever your http.postBuffer is configured to), so the
data has to be sent chunked.

To do that, I just created a 1.5 MB file added it to a commit and then
pushed.

# dd if=/dev/urandom of=file1 count=1 bs=1500000
# git add file1
# git commit
# git push -v

This (at least for me) provoked the error.

I get however a slightly different "result=" in the error line:

Pushing to https://scm.nordsys.de/git/sandbox/naujoks/testrepo.git
Counting objects: 9, done.
Delta compression using up to 6 threads.
Compressing objects: 100% (8/8), done.
POST git-receive-pack (chunked)
Writing objects: 100% (9/9), 1.43 MiB | 607 KiB/s, done.
Total 9 (delta 1), reused 0 (delta 0)
Unable to rewind rpc post data - try increasing http.postBuffer
error: RPC failed; result=65, HTTP code = 401
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date


This is a gitolite server, but the error only appears on my machine
after the last update. increasing http.postBuffer actually helps, but it
cannot be a solution to just set this value to 100MB and try to live
with that and hope every server accepts that.

Regards
  Andre


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to