HTTP
HTTP GET
chunked Transfer-Encoding
Trailer:
DELAY
# Server-side
HTTP/1.1 200 OK swsclose
Transfer-Encoding: chunked
4
data
5
d474
0
CURLINFO_CONNECT_TIME_T on 1st header is OK
CURLINFO_PRETRANSFER_TIME_T on 1st header is OK
CURLINFO_STARTTRANSFER_TIME_T on 1st header is OK
CURLINFO_TOTAL_TIME_T on 1st header is OK
CURLINFO_APPCONNECT_TIME_T on 1st header is OK
CURLINFO_SPEED_DOWNLOAD_T on 1st header is OK
HTTP/1.1 200 OK swsclose
Transfer-Encoding: chunked
datad474
CURLINFO_CONNECT_TIME_T on done is OK
CURLINFO_PRETRANSFER_TIME_T on done is OK
CURLINFO_POSTTRANSFER_TIME_T on done is OK
CURLINFO_STARTTRANSFER_TIME_T on done is OK
CURLINFO_APPCONNECT_TIME_T on done is OK
CURLINFO_SPEED_DOWNLOAD_T on done is OK
CURLINFO_TOTAL_TIME_T on done is OK
writedelay: 10
# Client-side
http
lib%TESTNUMBER
chunked with trailers and pausing the receive
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
# Verify data after the test has been "shot"
GET /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*