large headers: have curl accept >16K headers
authorDaniel Stenberg <daniel@haxx.se>
Mon, 24 Oct 2011 15:28:41 +0000 (17:28 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 24 Oct 2011 15:28:41 +0000 (17:28 +0200)
commit515f11e79bf1d13a1659cb7d4cb03ba26a3bbae6
treefd3eb84c9709b195a24a265a9df9faeb7be62eb5
parent5850cc4808ab3669e7a973bd492a630f51804df3
large headers: have curl accept >16K headers

As commit 5850cc4808ab clarifies, libcurl can deliver header lines that
are longer than CURL_MAX_WRITE_SIZE, only body data is limited to that
size. The curl tool has check (when built debug-enabled) that made the
wrong checks and this new test 1205 verifies that larger headers work.
src/tool_cb_hdr.c
src/tool_cb_wrt.c
tests/data/Makefile.am
tests/data/test1205 [new file with mode: 0644]