[Openstack-security] [openstack/swift] SecurityImpact review request change I1f629987fbc8c59406432faad9cb2bfa34b5eccc
gerrit2 at review.openstack.org
gerrit2 at review.openstack.org
Mon Nov 9 11:29:52 UTC 2015
Hi, I'd like you to take a look at this patch for potential
SecurityImpact.
https://review.openstack.org/227855
Log:
commit 1d7a8b4134d889c44f38a62eab4ae600f5d84c48
Author: janonymous <janonymous.codevulture at gmail.com>
Date: Fri Sep 25 19:13:28 2015 +0530
Eventlet green threads not released back to pool
Presently, the wsgi server allows persist connections hence even after
the response is sent to the client, it doesn't close the client socket
connection.
Because of this problem, the green thread is not released back to the pool.
In order to close the client socket connection explicitly after the
response is sent and read successfully by the client, you simply have to
set keepalive to False when you create a wsgi server.
Add a parameter to take advantage of the new(ish) eventlet socket timeout
behaviour. Allows closing idle client connections after a period of
time.
eg:
$ time nc localhost 8776
real 1m0.063s
Added Parameters in Initial commit that needs to be changed as appropriate
for swift configuration.
DocImpact:
Added wsgi_keep_alive option (default=False).
SecurityImpact
Closes-Bug: #1361360
Change-Id: I1f629987fbc8c59406432faad9cb2bfa34b5eccc
More information about the Openstack-security
mailing list