113498266Sopenharmony_ci<testcase>
213498266Sopenharmony_ci<info>
313498266Sopenharmony_ci<keywords>
413498266Sopenharmony_ciPROGRESSFUNCTION
513498266Sopenharmony_ciDELAY
613498266Sopenharmony_ci</keywords>
713498266Sopenharmony_ci</info>
813498266Sopenharmony_ci
913498266Sopenharmony_ci# Server-side
1013498266Sopenharmony_ci<reply>
1113498266Sopenharmony_ci<data nocheck="yes">
1213498266Sopenharmony_ciHTTP/1.1 204 PARTIAL
1313498266Sopenharmony_ciX-Comment: partial response to keep the client waiting
1413498266Sopenharmony_ci</data>
1513498266Sopenharmony_ci<postcmd>
1613498266Sopenharmony_ciwait 10
1713498266Sopenharmony_ci</postcmd>
1813498266Sopenharmony_ci</reply>
1913498266Sopenharmony_ci
2013498266Sopenharmony_ci# Client-side
2113498266Sopenharmony_ci<client>
2213498266Sopenharmony_ci<server>
2313498266Sopenharmony_cihttp
2413498266Sopenharmony_ci</server>
2513498266Sopenharmony_ci<tool>
2613498266Sopenharmony_cilib%TESTNUMBER
2713498266Sopenharmony_ci</tool>
2813498266Sopenharmony_ci<name>
2913498266Sopenharmony_cireturn failure immediately from progress callback
3013498266Sopenharmony_ci</name>
3113498266Sopenharmony_ci
3213498266Sopenharmony_ci# this server/host won't be used for real
3313498266Sopenharmony_ci<command>
3413498266Sopenharmony_cihttp://%HOSTIP:%HTTPPORT/%TESTNUMBER
3513498266Sopenharmony_ci</command>
3613498266Sopenharmony_ci</client>
3713498266Sopenharmony_ci
3813498266Sopenharmony_ci# Verify data after the test has been "shot"
3913498266Sopenharmony_ci<verify>
4013498266Sopenharmony_ci<protocol>
4113498266Sopenharmony_ci</protocol>
4213498266Sopenharmony_ci# 42 == CURLE_ABORTED_BY_CALLBACK
4313498266Sopenharmony_ci<errorcode>
4413498266Sopenharmony_ci42
4513498266Sopenharmony_ci</errorcode>
4613498266Sopenharmony_ci<stdout>
4713498266Sopenharmony_ciPROGRESSFUNCTION called
4813498266Sopenharmony_ci</stdout>
4913498266Sopenharmony_ci</verify>
5013498266Sopenharmony_ci</testcase>
51