Pinkie > Bug Reports

TFTP error


Brian Dao:
Although Pinkie's TFTP Server supports RFC 2347, 2348 & 2349 which supposedly allow it to transfer files as large as 4 GB, it normally times out at block 32,767 or about 16 MB.

This is due to the way Pinkie handles the Integer value used to count the block #.  All 16 bits were supposed to be used to count the block number but I overlooked the type of variable and as it turned out, the most significant bit of the 16 (left most bit) is being used to indicate the signage (positive or negative) thus the block count instead of ranging from 0 to 65,535 became -32,768 through 32,767.
And the initial block that starts the TFTP file transfer is set to be 0 so the theoretical limit of 32 MB got reduced by 1/2 to 16 MB.  This was first discovered in v1.85 but I didn't have enough time on hand to fix it.

I'll prioritize this and get it fix soon.


Brian Dao:
This block number issue has been fixed and will be in the next release.



[0] Message Index

Go to full version