threads / discuss / 5374

git-daemon hangs after invalid request

Subject: git-daemon hangs after invalid request

## tl;dr

One message between Aug 24, 2006 and Aug 24, 2006.

replies: 0people: 1as markdown or json

Timo Hirvonen· Aug 24, 2006, 12:37 UTC · lore
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/

← back to recent threads