Merge pull request #38 from hubertmis/fix-block2-payload

Fix payload transmitted in Block2 transfer
Mesure-preliminaire
Giacomo Tanganelli 3 years ago committed by GitHub
commit a07ab65dd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -60,7 +60,7 @@ class BlockLayer(object):
del transaction.request.block2
else:
# early negotiation
byte = 0
byte = num * size
self._block2_receive[key_token] = BlockItem(byte, num, m, size)
del transaction.request.block2

Loading…
Cancel
Save