git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Please document git-http-backend/Apache timeout interactions

From
SGSteinar H. Gunderson <sgunderson@bigfoot.com>
Date
Feb 21, 2016, 22:17 UTC
Message-ID
<20160221221744.GA38068@sesse.net>
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: Junio C Hamano
Message 1 of 3 in “Please document git-http-backend/Apache timeout interactions”
  1. Steinar H. GundersonFeb 21, 2016
  2. Junio C HamanoFeb 21, 2016
  3. Steinar H. GundersonFeb 21, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.