﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	launchpad_bug
1366	avoid calling req.finish() on closed HTTP connections	warner	warner	"While reviewing #393 MDMF, I ran into some test failures which were related to an HTTP ""GET"" connection being closed by the client before the tahoe server had a chance to close it itself. I think it only occurs during the new tests added as part of the #393 patch, but it's not MDMF-specific.

Here's a patch to fix it. Note that Twisted-9.0 was the first version which started raising an error when you call {{{request.finish()}}} on a request that's already been closed, and it was also the first version to offer {{{request.notifyFinish()}}} to tell you when it's been closed. So this patch has to switch on {{{hasattr(req, ""notifyFinish"")}}} until the time we raise our dependency on Twisted to 9.0 or later.
"	defect	closed	minor	1.9.0	code-frontend-web	1.8.2	fixed	cleanup		
