]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add client_socket_timeout option
authorStuart McLaren <stuart.mclaren@hp.com>
Fri, 5 Sep 2014 12:48:04 +0000 (12:48 +0000)
committerStuart McLaren <stuart.mclaren@hp.com>
Thu, 16 Oct 2014 09:53:17 +0000 (09:53 +0000)
commit08bfa77aeccb8ca589e3fb5cf9771879818f59de
treeb31aeecd9757543334ceda8db9ac1bd0bdd7d744
parent272b86382f08bc8273ee7d5059d3509597a788af
Add client_socket_timeout option

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

Setting 'client_socket_timeout = 0' means do not timeout.

DocImpact

Change-Id: If492810a2f10fa5954f8c8bb708b14be0b77fb90
Closes-bug: #1371022
cinder/tests/test_wsgi.py
cinder/wsgi.py
etc/cinder/cinder.conf.sample