Force uWSGI to set "Connection: close" header

uWSGI is currently not compliant with RFC 2616 section 14.10.
This will work around the problem by blindly applying the
correct header to responses, when using the default uWSGI
vassal configuration files. This does break persistent connections
in that case, so these configs should probably be changed for
production use (or uWSGI should not be used).

Change-Id: I56036768c46f1f727b10c7d231c3470dfa8213ea
This commit is contained in:
Adam Harwell
2014-08-07 19:20:20 -05:00
parent ef79bc5927
commit 680845ffd7
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -8,3 +8,4 @@ no-default-app = true
memory-report = true
plugins = python
paste = config:/etc/barbican/barbican-admin-paste.ini
add-header = Connection: close
+1
View File
@@ -8,3 +8,4 @@ no-default-app = true
memory-report = true
plugins = python
paste = config:/etc/barbican/barbican-api-paste.ini
add-header = Connection: close