git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Please document git-http-backend/Apache timeout interactions
@ 2016-02-21 22:17 Steinar H. Gunderson
  2016-02-21 23:29 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Steinar H. Gunderson @ 2016-02-21 22:17 UTC (permalink / raw)
  To: git

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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-21 23:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-21 22:17 Please document git-http-backend/Apache timeout interactions Steinar H. Gunderson
2016-02-21 23:29 ` Junio C Hamano
2016-02-21 23:34   ` Steinar H. Gunderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).