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

Re: [PATCH] upload-pack: fix timeout in create_pack_file

From
Junio C Hamano <junkio@cox.net>
Date
Jul 24, 2006, 07:55 UTC
Message-ID
<7vac6ze8t5.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<E1G4uZw-0006vZ-VO@moooo.ath.cx>
Matthias Lederhofer <matled@gmx.net> writes:
Show 11 quoted lines
> Junio C Hamano <junkio@cox.net> wrote:
>
>> My gut feeling is that your patch would be fine as is (have you
>> tried and confirmed that it helps cases other than slow
>> clients?)
> ... I tried a server with --timeout=600 and a client
> that cannot download the whole pack file in 10 minutes.  Without the
> patch the server closes the connection, with this patch it works.
> Additionally I tried it with a client reading so slow that the server
> was blocked for more than --timeout seconds, then the server closes
> the connection too (this is more or less the DoS case).
Thanks, that's all I wanted to know.  Let's have it.
Previous: Matthias Lederhofer
Message 4 of 4 in “upload-pack: fix timeout in create_pack_file”
  1. upload-pack: fix timeout in create_pack_fileMatthias Lederhofer, Jul 18, 2006
  2. Junio C HamanoJul 24, 2006
  3. Matthias LederhoferJul 24, 2006
  4. Junio C HamanoJul 24, 2006

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.