Skip to content

Conversation

@lucabodd
Copy link

As you can see on commits, I added in PXE casting from bytes to string that otherwise generates a TypeError on concatenating bytes (in python3 casting to string is not implicit).
Fixing TFTP "wrap-around" on short ints, now TFTP can send files up to 16M (till 32 MB as defined by TFTP) but package now requires numpy

eblot and others added 3 commits September 6, 2019 18:56
Casting bytes to string, in python3 casting bytes to string is not implicit
tftpd before doesn't allow to send data up to 16,7MB (512*32767) because "int" was overflowing and expecting an ack backet with negative ACK: fixed initializing  self.blockNumber = np.int16(0x0000) and sum block with block = self.blockNumber = np.int16(self.blockNumber + 1)
@eblot
Copy link
Owner

eblot commented Sep 19, 2019

Hi Luca,

I did not merge the PR per se but i think I fixed both issues based on your patch files - I do not have a way to test PXE for now, so if you can git it a try.

Thanks.

@lucabodd
Copy link
Author

lucabodd commented Sep 19, 2019 via email

@eblot
Copy link
Owner

eblot commented Sep 19, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants