From b414dd3c8a989b6f126025ef53f6540468831abd Mon Sep 17 00:00:00 2001 From: Allan Saddi Date: Mon, 6 Jun 2011 18:29:07 -0700 Subject: Fix bug that occurs when an unknown FastCGI record type is seen. --- flup/server/fcgi_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flup/server/fcgi_base.py b/flup/server/fcgi_base.py index 8a9a181..e219d63 100644 --- a/flup/server/fcgi_base.py +++ b/flup/server/fcgi_base.py @@ -821,7 +821,7 @@ class Connection(object): outrec = Record(FCGI_UNKNOWN_TYPE) outrec.contentData = struct.pack(FCGI_UnknownTypeBody, inrec.type) outrec.contentLength = FCGI_UnknownTypeBody_LEN - self.writeRecord(rec) + self.writeRecord(outrec) class MultiplexedConnection(Connection): """ -- cgit v1.2.1