1<testcase> 2<info> 3<keywords> 4PROGRESSFUNCTION 5</keywords> 6</info> 7 8# Server-side 9<reply> 10<data nocheck="yes"> 11HTTP/1.1 204 PARTIAL 12X-Comment: partial response to keep the client waiting 13</data> 14<postcmd> 15wait 10 16</postcmd> 17</reply> 18 19# Client-side 20<client> 21<server> 22http 23</server> 24<tool> 25lib1513 26</tool> 27 <name> 28return failure immediately from progress callback 29 </name> 30 31# this server/host won't be used for real 32 <command> 33http://%HOSTIP:%HTTPPORT/1513 34</command> 35</client> 36 37# Verify data after the test has been "shot" 38<verify> 39<protocol> 40</protocol> 41# 42 == CURLE_ABORTED_BY_CALLBACK 42<errorcode> 4342 44</errorcode> 45<stdout> 46PROGRESSFUNCTION called 47</stdout> 48</verify> 49</testcase> 50