mirror of https://github.com/vitalif/grive2
Compare commits
2 Commits
6f4b827983
...
1a7bd5d208
Author | SHA1 | Date |
---|---|---|
Tatsh | 1a7bd5d208 | |
Andrew Udvare | 34479a5ac0 |
|
@ -84,6 +84,7 @@ void CurlAgent::Init()
|
||||||
::curl_easy_setopt( m_pimpl->curl, CURLOPT_HEADERFUNCTION, &CurlAgent::HeaderCallback ) ;
|
::curl_easy_setopt( m_pimpl->curl, CURLOPT_HEADERFUNCTION, &CurlAgent::HeaderCallback ) ;
|
||||||
::curl_easy_setopt( m_pimpl->curl, CURLOPT_HEADERDATA, this ) ;
|
::curl_easy_setopt( m_pimpl->curl, CURLOPT_HEADERDATA, this ) ;
|
||||||
::curl_easy_setopt( m_pimpl->curl, CURLOPT_HEADER, 0L ) ;
|
::curl_easy_setopt( m_pimpl->curl, CURLOPT_HEADER, 0L ) ;
|
||||||
|
::curl_easy_setopt( m_pimpl->curl, CURLOPT_TIMEOUT, 30L );
|
||||||
if ( mMaxUpload > 0 )
|
if ( mMaxUpload > 0 )
|
||||||
::curl_easy_setopt( m_pimpl->curl, CURLOPT_MAX_SEND_SPEED_LARGE, mMaxUpload ) ;
|
::curl_easy_setopt( m_pimpl->curl, CURLOPT_MAX_SEND_SPEED_LARGE, mMaxUpload ) ;
|
||||||
if ( mMaxDownload > 0 )
|
if ( mMaxDownload > 0 )
|
||||||
|
|
Loading…
Reference in New Issue