Roxen.git / server / modules / tags / insert_cached_href.pike

version» Context lines:

Roxen.git/server/modules/tags/insert_cached_href.pike:760: Inside #if defined(THREADS)
   con = Protocols.HTTP.Query();       if(!_request_headers)    request_headers = ([]);    else    request_headers = _request_headers;       if (mixed err = catch (url=Standards.URI(args["cached-href"])))    RXML.parse_error ("Invalid URL: %s\n", describe_error (err));    - #if constant(SSL.sslfile) + #if constant(SSL.File)    if(url->scheme!="http" && url->scheme!="https")    error("Protocols.HTTP can't handle %O or any other protocols than HTTP or HTTPS\n",    url->scheme);       con->https= (url->scheme=="https")? 1 : 0;   #else -  if(url->scheme!="http" ) +  if(url->scheme!="http")    error("Protocols.HTTP can't handle %O or any other protocol than HTTP\n",    url->scheme);      #endif       if(!request_headers)    request_headers = ([]);       string host_header;    if ((url->scheme == "http" && url->port == 80) ||