random size from 0
This commit is contained in:
parent
2a03747e76
commit
125c3e88fd
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ class http_simple(plain.plain):
|
|||
return buf
|
||||
head_size = self.get_head_size(buf, 30)
|
||||
if len(buf) - head_size > 64:
|
||||
headlen = head_size + random.randint(1, 64)
|
||||
headlen = head_size + random.randint(0, 64)
|
||||
else:
|
||||
headlen = len(buf)
|
||||
headdata = buf[:headlen]
|
||||
|
|
Loading…
Add table
Reference in a new issue