Lines Matching refs:url

331  *     		url - URL pointing to content to download - can be
350 web_session_control(PKG_ERR *err, char *url, char *dwnld_dir,
363 if (!parse_url_proxy(err, url, proxy, proxy_port)) {
406 ps->url.hport.hostname);
412 ps->url.hport.hostname);
437 ps->url.hport.hostname);
443 ps->url.hport.hostname);
473 ps->url.hport.hostname);
479 ps->url.hport.hostname);
499 pkgerr_add(err, PKGERR_WEB, gettext(ERR_DWNLD), url);
1607 * url - URL to parse
1613 * on success, 'ps->url' and 'ps->proxy' are populated
1617 parse_url_proxy(PKG_ERR *err, char *url, char *proxy, ushort_t proxy_port)
1620 if (!path_valid(url)) {
1625 if (url_parse(url, &ps->url) != URL_PARSE_SUCCESS) {
1626 pkgerr_add(err, PKGERR_WEB, gettext(ERR_PARSE_URL), url);
1659 if ((ps->hps = http_srv_init(&ps->url)) == NULL) {
1660 pkgerr_add(err, PKGERR_WEB, gettext(ERR_INIT_SESS), ps->url);
1671 pkgerr_add(err, PKGERR_WEB, gettext(ERR_INIT_SESS), ps->url);
1676 pkgerr_add(err, PKGERR_WEB, gettext(ERR_INIT_SESS), ps->url);
1681 pkgerr_add(err, PKGERR_WEB, gettext(ERR_INIT_SESS), ps->url);
1686 pkgerr_add(err, PKGERR_WEB, gettext(ERR_INIT_SESS), ps->url);
1721 if (ps->url.https == B_TRUE) {
1793 ps->url.hport.hostname);
1925 if ((http_head_request(ps->hps, ps->url.abspath)) != 0) {
1956 ps->url.hport.hostname);
1969 if (http_get_range_request(ps->hps, ps->url.abspath,
2005 ps->url.hport.hostname);
2021 if ((http_get_request(ps->hps, ps->url.abspath))
2057 ps->url.hport.hostname);
2195 if ((bname = get_endof_string(ps->url.abspath, '/')) == NULL) {
2198 gettext(ERR_PARSE_URL), ps->url.abspath);
2376 ps->url.hport.hostname);
2625 ps->url.https = B_FALSE;
2713 if (ps->url.abspath)
2714 if (strlcat(buf, ps->url.abspath, PATH_MAX) >= PATH_MAX)
2716 if (ps->url.hport.hostname)
2717 if (isdigit((int)ps->url.hport.hostname[0])) {
2718 if (strlcat(buf, ps->url.hport.hostname, PATH_MAX)
2723 get_startof_string(ps->url.hport.hostname, '.'))
2893 /* skip over the http:// part of the proxy "url" */