This commit is contained in:
breakwa11 2015-09-26 00:04:08 +08:00
parent 93c94fbe3c
commit e060fd5b4d

View file

@ -238,7 +238,7 @@ class random_head(object):
if self.has_sent_header:
return buf
self.has_sent_header = True
return os.urandom(common.ord(os.urandom(1)[0]) % 96)
return os.urandom(common.ord(os.urandom(1)[0]) % 96 + 1)
def server_decode(self, buf):
if self.has_recv_header: