1<testcase>
2<info>
3<keywords>
4TFTP
5TFTP RRQ
6</keywords>
7</info>
8
9#
10# Server-side
11<reply>
12<servercmd>
13writedelay: 1
14</servercmd>
15# ~1200 bytes (so that they don't fit in two 512 byte chunks)
16<data nocheck="yes">
17012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
18</data>
19</reply>
20
21#
22# Client-side
23<client>
24<server>
25tftp
26</server>
27 <name>
28slow TFTP retrieve cancel due to -Y and -y
29 </name>
30# if less than 1000 bytes/sec within 2 seconds, abort!
31 <command>
32tftp://%HOSTIP:%TFTPPORT//1238 -Y1000 -y2
33</command>
34</client>
35
36#
37# Verify pseudo protocol after the test has been "shot"
38<verify>
39<protocol>
40opcode: 1
41filename: /1238
42mode: octet
43</protocol>
44# 28 = CURLE_OPERATION_TIMEDOUT
45<errorcode>
4628
47</errorcode>
48</verify>
49</testcase>
50