Monorepo for Tangled

knotserver: reject 'git-receive-pack' service in info/refs master

* Checks service name query parameter in info/refs handler; rejects any service request that doesn't match 'git-upload-pack'. * Produces 'text/plain' error responses so the git client will display them. * Adds a specific reject message for 'git-receive-pack'. This will produce a less cryptic error in the terminal when trying to push over http.


+45 -8
1 changed file