Skip to content

Commit

Permalink
From Jason Beverage, "I've added a small change to the CURL plugin th…
Browse files Browse the repository at this point in the history
…at allows support for HTTP redirects."
  • Loading branch information
robertosfield committed Feb 10, 2009
1 parent 54ea755 commit 560cdf4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/osgPlugins/curl/ReaderWriterCURL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 560cdf4

Please sign in to comment.