HTTP
HTTP GET
#
# Server-side
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 6
Connection: close
Long: %repeat[102400 x A]%
-foo-
#
# Client-side
http
HTTP GET with 100K (too long) response header
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
#
# Verify data after the test has been "shot"
GET /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
# 27 == CURLE_OUT_OF_MEMORY
27