summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Saddi <allan@saddi.com>2005-11-28 17:16:04 +0000
committerAllan Saddi <allan@saddi.com>2005-11-28 17:16:04 +0000
commitf407f73d334d7e4c4840496904d7b4ce3d737d6d (patch)
tree8f97a6841cefa315c22e188e10e1f69fde9b0d57
parent5d893e11edb7d0e8adbddc9148269f6684e39580 (diff)
downloadflup-f407f73d334d7e4c4840496904d7b4ce3d737d6d.tar.gz
Fix issue with FCGI_GET_VALUES handling.
-rw-r--r--ChangeLog5
-rw-r--r--flup/server/fcgi_base.py2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 49be43b..03e3c29 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-11-28 Allan Saddi <asaddi@kalahari.flup.org>
+
+ * Fix issue with FCGI_GET_VALUES handling. Thanks to
+ Timothy Wright for pointing this out.
+
2005-11-18 Allan Saddi <asaddi@kalahari.flup.org>
* When running under Python < 2.4, attempt to use socketpair()
diff --git a/flup/server/fcgi_base.py b/flup/server/fcgi_base.py
index 32bc75c..94c6285 100644
--- a/flup/server/fcgi_base.py
+++ b/flup/server/fcgi_base.py
@@ -731,7 +731,7 @@ class Connection(object):
outrec.contentData += encode_pair(name, str(cap))
outrec.contentLength = len(outrec.contentData)
- self.writeRecord(rec)
+ self.writeRecord(outrec)
def _do_begin_request(self, inrec):
"""Handle an FCGI_BEGIN_REQUEST from the web server."""