From: "Steinar H. Gunderson" <sgunderson@bigfoot.com>
To: git@vger.kernel.org
Subject: Please document git-http-backend/Apache timeout interactions
Date: Sun, 21 Feb 2016 23:17:44 +0100 [thread overview]
Message-ID: <20160221221744.GA38068@sesse.net> (raw)
Hi,
I am running git-http-backend behind Apache as suggested in
git-http-backend(1). However, what it fails to mention is that
git-fetch-pack seemingly can be very slow in sending its request.
Consequently, mod_reqtimeout (on by default, as I understand it)
kicks in as an anti-DoS measure, and the user sees a 408 (timeout)
error.
Seemingly the simplest fix is to turn off mod_reqtimeout in the vhost
serving git (potentially with some <IfModule> around it):
RequestReadTimeout header=0 body=0
Would you consider adding this to the documentation?
Thanks!
/* Steinar */
--
Homepage: https://www.sesse.net/
next reply other threads:[~2016-02-21 22:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-21 22:17 Steinar H. Gunderson [this message]
2016-02-21 23:29 ` Please document git-http-backend/Apache timeout interactions Junio C Hamano
2016-02-21 23:34 ` Steinar H. Gunderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160221221744.GA38068@sesse.net \
--to=sgunderson@bigfoot.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.