← Back to team overview

registry team mailing list archive

[Bug 651598] Re: Write timeout bug in proxy server

 

$ bzr diff
=== modified file 'swift/proxy/server.py'
--- swift/proxy/server.py	2010-09-10 14:52:10 +0000
+++ swift/proxy/server.py	2010-10-04 20:20:31 +0000
@@ -692,7 +692,7 @@
                 req.bytes_transferred += len_chunk
                 if req.bytes_transferred > MAX_FILE_SIZE:
                     return HTTPRequestEntityTooLarge(request=req)
-                for conn in conns:
+                for conn in conns[:]:
                     try:
                         with ChunkWriteTimeout(self.app.node_timeout):
                             if req.headers.get('transfer-encoding'):

-- 
Write timeout bug in proxy server
https://bugs.launchpad.net/bugs/651598
You received this bug notification because you are a member of Registry
Administrators, which is subscribed to OpenStack Object Storage (swift).



References