git-daemon hangs after invalid request

From: Timo Hirvonen <hidden>
Date: 2016-06-15 22:42:37

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.

-- 
http://onion.dynserv.net/~timo/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help