diff options
author | Allan Saddi <allan@saddi.com> | 2011-06-06 18:29:07 -0700 |
---|---|---|
committer | Allan Saddi <allan@saddi.com> | 2011-06-06 18:29:07 -0700 |
commit | b414dd3c8a989b6f126025ef53f6540468831abd (patch) | |
tree | b997869cbba3093b8f2134477b3f06ef35307c37 | |
parent | 3cf3cbc665501812f370138992b37a9b1e03c1cc (diff) | |
download | flup-b414dd3c8a989b6f126025ef53f6540468831abd.tar.gz |
Fix bug that occurs when an unknown FastCGI record type is seen.
-rw-r--r-- | flup/server/fcgi_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): """ |