assume 0 bytes where received when we don't have the information

This commit is contained in:
ziirish 2016-04-28 10:33:53 +02:00
parent 5e72781577
commit d4b20f0c1f

View file

@ -663,11 +663,11 @@ class Burp(Burp1):
try:
back['received'] = log['received']
except KeyError as e:
back['received'] = -1
back['received'] = 0
try:
back['size'] = log['totsize']
except KeyError as e:
back['size'] = -1
back['size'] = 0
back['end'] = log['end']
# override date since the timestamp is odd
back['date'] = log['start']