rocket passes all pathoc tests without hang
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user