]> gitweb.factorcode.org Git - factor.git/commit
protocols.tftp: Fix some bugs.
authorDoug Coleman <doug.coleman@gmail.com>
Sun, 3 Feb 2019 23:09:34 +0000 (18:09 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Sun, 3 Feb 2019 23:09:34 +0000 (18:09 -0500)
commit184b614e896179dc83403519c0c35672976a9113
tree4ad4a30ddbdddc9dc8fdfc0aeb7f6b1f1689c8ab
parent591a46880083e4b09d0816608eb1d346cf6e8a60
protocols.tftp: Fix some bugs.

- needed pack-be
- tftp clients seem to send an ACK even before receiving an error for a missing file
- handles directories now, "File not found"

to improve:
- use the client/server pair as a key maybe
- handle file writing
- throw errors that are not io-timeout once we have a cross-platform timeout error object
extra/protocols/tftp/tftp.factor