Branch: Tag:

2014-12-04

2014-12-04 19:26:33 by Martin Nilsson <nilsson@opera.com>

sslfile -> File and sslport -> port

195:    url->port = proxy->port;    query_variables = url->query = 0;    url->path = web_url; - #if constant(SSL.sslfile) + #if constant(SSL.File)    } else if (url->scheme == "https") {   #ifdef HTTP_QUERY_DEBUG    werror("Proxied SSL request.\n");
220: Inside #if constant(SSL.sslfile)
   con->start_tls(1);    }    proxy_headers = request_headers; - #endif + #endif /* constant(SSL.File) */    } else {    error("Can't handle proxying of %O.\n", url->scheme);    }
267:    if(!con)    con = .Query();    - #if constant(SSL.sslfile) + #if constant(SSL.File)    if(url->scheme!="http" && url->scheme!="https")    error("Can't handle %O or any other protocols than HTTP or HTTPS.\n",    url->scheme);
278:    error("Can't handle %O or any other protocol than HTTP "    "(HTTPS requires Nettle support).\n",    url->scheme); - #endif + #endif /* constant(SSL.File) */       mapping default_headers = ([    "user-agent" : "Mozilla/5.0 (compatible; MSIE 6.0; Pike HTTP client)"
403:    error("Asynchronous httpu or httpmu not yet supported.\n");    }    - #if constant(SSL.sslfile) + #if constant(SSL.File)    if(url->scheme!="http" && url->scheme!="https")    error("Can't handle %O or any other protocols than HTTP or HTTPS.\n",    url->scheme);
413:    if(url->scheme!="http")    error("Can't handle %O or any other protocol than HTTP.\n",    url->scheme); - #endif + #endif /* constant(SSL.File) */       if(!request_headers)    request_headers = ([]);
567:    url->port = proxy->port;    query_variables = url->query = 0;    url->path = web_url; - #if constant(SSL.sslfile) + #if constant(SSL.File)    } else if(url->scheme == "https") {   #ifdef HTTP_QUERY_DEBUG    werror("Proxied SSL request.\n");