f598fd0f4b
since the git command output is redirected to the http response body, the golang http server automatically adds a 200 status before sending the body. If the git command fails we cannot return an http error anymore but must close the connection to let the client know that the request failed. |
||
---|---|---|
.. | ||
common | ||
config | ||
datamanager | ||
db | ||
etcd | ||
git-handler | ||
git-save | ||
gitsources | ||
log | ||
objectstorage | ||
runconfig | ||
sequence | ||
services | ||
testutil | ||
toolbox | ||
util | ||
tools.go |