Skip to contentSkip to conversation

git-daemon hangs after invalid request

DISCUSSION Timo Hirvonen 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Hi,

I noticed git-daemon hangs sometimes...

git clone git://example.com/git/repo.git

works just fine but this

git clone git://example.com/git/invalid.git

hangs and I have to hit ^C. It's OK but error message would be nice. git-daemon outputs these lines to syslog:

Request for '/git/invalid.git' '/git/invalid.git': unable to chdir or not a git archive

Now if I try to clone the existing repo again

git clone git://example.com/git/repo.git

it hangs. I have to restart git-daemon to get it working again. I started git-daemon (1.4.2) with --syslog --verbose flags.

Signature · 1 line
http://onion.dynserv.net/~timo/