The curl_easy_nextheader function is very new, so if you're not using the bleeding edge latest release of libcurl then it won't be available. The ResponseHeaderEngine knows this, and falls back on the old behavior if the new API isn't available. However, if the request fails without generating any headers then the ResponseHeaderEngine will be fooled into thinking the new API is available. When the API is actually called upon a FunctionNotFoundException is raised.
The
curl_easy_nextheader
function is very new, so if you're not using the bleeding edge latest release of libcurl then it won't be available. TheResponseHeaderEngine
knows this, and falls back on the old behavior if the new API isn't available. However, if the request fails without generating any headers then theResponseHeaderEngine
will be fooled into thinking the new API is available. When the API is actually called upon aFunctionNotFoundException
is raised.