From: Yiyi Sun <yiyisun@gmail.com>
To: git@vger.kernel.org
Subject: Fwd: git-receive-pack --stateless-rpc
Date: Thu, 17 Jun 2010 09:45:07 -0400 [thread overview]
Message-ID: <AANLkTikbUp7_22alAbgNFO30R7vkPUAOr7qvJ6a86Zc7@mail.gmail.com> (raw)
In-Reply-To: <AANLkTikwu4iKnG-DzclRPFNF7djNKZ31xR82aO0ryVJ3@mail.gmail.com>
Hi,
I am creating a Git smart HTTP protocol wrapper and run into two
problem. I tried the msysGit mailing list and was told to ask them to
the main git mailing list.
Here is the story. During 'git push', I successfully processed the
initial GET request of '/info/refs?service=git-receive-pack' by
sending back the output of 'git receive-pack --stateless-rpc
--advertise-refs'. Then msysGit did a the POST request. I
invoked 'git receive-pack --stateless-rpc', which returned:
0030 000eunpack ok
0019ok refs/heads/master
00000000
Question #1, Is the result supposed to be something below instead?
000eunpack ok
0019ok refs/heads/master
0000
Question #2, msysGit cannot parse the result, it displays error message:
fatal: protocol error: bad line length character:
003
fatal: The remote end hung up unexpectedly
It seems that msysGit can read the http response of HTTP GET, but not
of HTTP POST.
Can you please help ?
Thanks,
yysun
next parent reply other threads:[~2010-06-17 13:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <AANLkTikwu4iKnG-DzclRPFNF7djNKZ31xR82aO0ryVJ3@mail.gmail.com>
2010-06-17 13:45 ` Yiyi Sun [this message]
2010-06-17 14:00 ` git-receive-pack --stateless-rpc Shawn Pearce
[not found] ` <AANLkTinJadUb48CBKMy1cMlXb2yUvm9uY0nUAQuslrfo@mail.gmail.com>
2010-06-17 15:25 ` Shawn O. Pearce
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTikbUp7_22alAbgNFO30R7vkPUAOr7qvJ6a86Zc7@mail.gmail.com \
--to=yiyisun@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).