]> git.proxmox.com Git - libgit2.git/commit
net: recognize and report server-side error messages
authorCarlos Martín Nieto <carlos@cmartin.tk>
Mon, 30 Apr 2012 15:44:37 +0000 (17:44 +0200)
committerCarlos Martín Nieto <carlos@cmartin.tk>
Mon, 30 Apr 2012 16:24:14 +0000 (18:24 +0200)
commit39e6af6a7c526823b06f2c7bfe97c0c7bf9501d5
treeb872cbcf20d72c0534c2d0cc2fff0d61a38a42dc
parent8b9ec201edf157f84735b8d220c10edafd9f4b5a
net: recognize and report server-side error messages

When e.g. a repository isn't found, the server sends an error saying
so. Put that error message in our error buffer.
src/pkt.c
src/pkt.h
src/protocol.c
src/transports/http.c