Fwd: git-receive-pack --stateless-rpc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]