diff options
author | Michael Santos <[email protected]> | 2016-02-12 10:59:36 -0500 |
---|---|---|
committer | Michael Santos <[email protected]> | 2016-02-12 11:09:22 -0500 |
commit | dda67a46e848196fc8603e696a1e2dd55b69e75b (patch) | |
tree | 45b151cd5736471e1a96a23f5515e1ab779e6166 /lib/inets/examples | |
parent | 439292ad4afe73243852fe79d5d467c325f382bf (diff) | |
download | otp-dda67a46e848196fc8603e696a1e2dd55b69e75b.tar.gz otp-dda67a46e848196fc8603e696a1e2dd55b69e75b.tar.bz2 otp-dda67a46e848196fc8603e696a1e2dd55b69e75b.zip |
tftp: support transfer of files > 65535 blocks
The block count is an unsigned 2 byte integer. The common behaviour of
tftp clients and servers is to overflow the block count and wrap the
counter to 0 in order to support files larger than 32M. Modify the tftp
implementation to do the same rollover.
Interoperability was tested by transferring a 1.4G file using the HPA
tftp client.
Diffstat (limited to 'lib/inets/examples')
0 files changed, 0 insertions, 0 deletions