rocket passes all pathoc tests without hang

This commit is contained in:
mdipierro
2012-10-10 11:57:30 -05:00
parent 63f56ddecc
commit f764eb2653
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.1.0 (2012-10-10 11:43:02) dev
Version 2.1.0 (2012-10-10 11:57:26) dev
+1 -1
View File
@@ -1466,7 +1466,7 @@ class Worker(Thread):
except UnicodeDecodeError:
self.err_log.warning('Invalid request header: '+repr(l))
if l.strip() == '':
if l.strip().replace('\0','') == '':
break
elif l[0] in ' \t' and lname:
# Some headers take more than one line