• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
41mode: octet
42tsize: 0
43blksize: 512
44timeout: 6
45filename: /1238
46</protocol>
47# 28 = CURLE_OPERATION_TIMEDOUT
48<errorcode>
4928
50</errorcode>
51</verify>
52</testcase>
53