Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verify the size of data received based on tsize option #18

Open
dacitsme opened this issue Mar 17, 2024 · 1 comment
Open

Verify the size of data received based on tsize option #18

dacitsme opened this issue Mar 17, 2024 · 1 comment

Comments

@dacitsme
Copy link

The tsize option can be used to verify the size of the received file after the transfer is complete. If the tsize does not match the number of octets received then the error packet can be sent as a response to the last data packet.

This is a second verification apart from ACK that the data received is complete.

I can contribute the changes if you think it is appropriate to include this.

@altugbakan
Copy link
Owner

Hello and thank you for your interest in rs-tftpd! Of course you can contribute for this. I think this would be a great addition.

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

No branches or pull requests

2 participants