Ignore content length patch
Status: Alpha
Brought to you by:
coroberti
From: Pranav D. <pra...@gm...> - 2010-05-11 17:41:36
|
Hi! I needed to ignore the content length for certain URLs (videos) for my test case. Without it curl-loader will report it as an error. I have attached a small patch for that. I thought it might be useful to someone else. It basically does this for the specified URL. curl_easy_setopt (handle, CURLOPT_IGNORE_CONTENT_LENGTH, 1); I have tested it a bit with my testbed and it seems to work as expected, so if you find any problems or if I have missed something please let me know. Thanks -- Pranav |