fixed issue 1046, thanks Houdini

This commit is contained in:
mdipierro
2012-09-29 10:17:06 -05:00
parent 492a0c51d1
commit cd955d3603
3 changed files with 13 additions and 7 deletions
+1 -1
View File
@@ -1468,7 +1468,7 @@ class Worker(Thread):
except UnicodeDecodeError:
self.err_log.warning('Client sent invalid header: ' + repr(l))
if l == '\r\n':
if l.strip() == '':
break
if l[0] in ' \t' and lname: