Ignore:
Timestamp:
12/18/20 12:53:42 (10 months ago)
Author:
obi
Message:

tithek add proxy to settings and enable for intern curl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/tithek/tithek_global.h

    r44858 r45037  
    370370                        curl_easy_setopt(curl_handle, CURLOPT_REFERER, referer);
    371371
     372                if(getconfig("tithek_proxy", NULL) != NULL)
     373                        curl_easy_setopt(curl_handle, CURLOPT_PROXY, getconfig("tithek_proxy", NULL));
     374
    372375                /* get it! */
    373376                res = curl_easy_perform(curl_handle);
Note: See TracChangeset for help on using the changeset viewer.