[issue3826] BaseHTTPRequestHandler depends on GC to close connections

2008-09-25 Thread romkyns
romkyns <[EMAIL PROTECTED]> added the comment: So the GC behaviour in this case is such that Python 3.0 can't collect the object whereas Python 2.6 can. Is this known / expected or should this be recorded in a separate issue? ___ Python trac

[issue3826] Self-reference in BaseHTTPRequestHandler descendants causes stuck connections

2008-09-15 Thread romkyns
romkyns <[EMAIL PROTECTED]> added the comment: Someone suggested I test this in 2.6rc1. The problem does not exist in 2.6rc1, only in 3.0b2. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3826] Self-reference in BaseHTTPRequestHandler descendants causes stuck connections

2008-09-10 Thread romkyns
romkyns <[EMAIL PROTECTED]> added the comment: My initial description doesn't state the actual observable problem very clearly: the problem is that the browser gets stuck instead of displaying the page, writing something along the lines of "Transferring data from localhost"

[issue3826] Self-reference in BaseHTTPRequestHandler descendants causes stuck connections

2008-09-09 Thread romkyns
New submission from romkyns <[EMAIL PROTECTED]>: See example code attached. A very basic http server responds with an XML document to any GET request. I think what happens is that the connection remains open at the end of the request, leading the browser to believe there's more data t