Skip to content

Commit

Permalink
Force uWSGI to set "Connection: close" header
Browse files Browse the repository at this point in the history
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
  • Loading branch information
rm-you committed Aug 8, 2014
1 parent ef79bc5 commit 680845f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions etc/barbican/vassals/barbican-admin.ini
Expand Up @@ -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 change: 1 addition & 0 deletions etc/barbican/vassals/barbican-api.ini
Expand Up @@ -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

0 comments on commit 680845f

Please sign in to comment.