From Jason Beverage, "I've added a small change to the CURL plugin that allows support for HTTP redirects."

Merged from svn/trunk:

   svn merge -r 9743:9744 http://www.openscenegraph.org/svn/osg/OpenSceneGraph/trunk
This commit is contained in:
Robert Osfield
2009-02-10 13:58:07 +00:00
parent 6a051be85a
commit 4adc16bcdd

View File

@@ -83,6 +83,7 @@ EasyCurl::EasyCurl()
curl_easy_setopt(_curl, CURLOPT_USERAGENT, "libcurl-agent/1.0");
curl_easy_setopt(_curl, CURLOPT_WRITEFUNCTION, StreamMemoryCallback);
curl_easy_setopt(_curl, CURLOPT_FOLLOWLOCATION, 1);
}
EasyCurl::~EasyCurl()