[PATCH 1 of 3 stable] hgweb: force connection close on early response

Kevin Bullock kbullock+mercurial at ringworld.org
Mon Jul 29 12:41:47 CDT 2013


On 24 Jul 2013, at 4:07 PM, Augie Fackler wrote:

> # HG changeset patch
> # User Augie Fackler <raf at durin42.com>
> # Date 1368322815 18000
> #      Sat May 11 20:40:15 2013 -0500
> # Branch stable
> # Node ID 54ff8d5ce7107ac20c38cd85527968e2f540806e
> # Parent  32e502b26983eaa89574835a024a9b035ad72bf4
> hgweb: force connection close on early response
> 
> Not all WSGI servers close the socket when an early response is sent
> to a large POST request, which can cause the server to interpret the
> already-sent request body as an incoming (but hopelessly invalid)
> request.

Uhmmm... *ouch*. Would love to hear more details about this.

pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
Kevin R. Bullock



More information about the Mercurial-devel mailing list