Fix multi HTTP responses

This commit is contained in:
Clément Notin 2018-08-17 15:45:13 +02:00 committed by GitHub
parent 242bc37997
commit defabfa543
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -294,6 +294,8 @@ class HTTP(BaseRequestHandler):
line = line.strip()
remaining = int(line.split(':')[1].strip()) - len(data)
if data == "":
break
#now the data variable has the full request
Buffer = WpadCustom(data, self.client_address[0])