TFTP
TFTP RRQ
timeout
FAILURE
DELAY
#
# Server-side
writedelay: 2000
# ~1200 bytes (so that they don't fit in two 512 byte chunks)
012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
#
# Client-side
tftp
# Always kill the TFTP server to not affect following tests, due
# to this test potentially keeping the TFTP server busy waiting
# for another 5 seconds after this test has already terminated.
# On some platforms and CI not enough time passes between this
# test and the next tests 1242 and 1243, causing them to fail.
tftp
slow TFTP retrieve cancel due to -Y and -y
# if less than 1000 bytes/sec within 2 seconds, abort!
tftp://%HOSTIP:%TFTPPORT//%TESTNUMBER -Y1000 -y2
#
# Verify pseudo protocol after the test has been "shot"
^timeout = [5-6]$
opcode = 1
mode = octet
tsize = 0
blksize = 512
filename = /%TESTNUMBER
# 28 = CURLE_OPERATION_TIMEDOUT
28