Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#154 wxCurl: Options set via SetOpt are ignored

Subversion_TRUNK
open
nobody
None
5
2013-01-10
2013-01-10
Robert Wruck
No

wxCurlBase::SetCurlHandleToDefaults calls ResetHandle which does a curl_easy_reset(). So any option set manually via wxCurlBase::SetOpt is cleared before making the actual request.
You shouldn't do that.. reusing a wxCurlBase instance for multiple (unrelated) requests is a bad idea anyway and doesn't need to be supported.

Discussion