Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 79d6a0e

Browse files
committed
Using binary data in dummy mode
1 parent 1e731f8 commit 79d6a0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/request/connect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def getPage(**kwargs):
184184
cpuThrottle(conf.cpuThrottle)
185185

186186
if conf.dummy:
187-
return randomStr(int(randomInt())), {}, int(randomInt())
187+
return randomStr(int(randomInt()), alphabet=[chr(_) for _ in xrange(256)]), {}, int(randomInt())
188188

189189
threadData = getCurrentThreadData()
190190
with kb.locks.request:

0 commit comments

Comments
 (0)