Lines Matching refs:http2
137 http_t *http2; /* Alternate HTTP connection */ in cupsGetPPD3() local
338 http2 = http; in cupsGetPPD3()
339 else if ((http2 = httpConnect2(hostname, port, NULL, AF_UNSPEC, in cupsGetPPD3()
364 if (http2 != http) in cupsGetPPD3()
365 httpClose(http2); in cupsGetPPD3()
377 httpSetField(http2, HTTP_FIELD_IF_MODIFIED_SINCE, in cupsGetPPD3()
380 status = cupsGetFd(http2, resource, fd); in cupsGetPPD3()
390 *modtime = httpGetDateTime(httpGetField(http2, HTTP_FIELD_DATE)); in cupsGetPPD3()
407 if (http2 != http) in cupsGetPPD3()
408 httpClose(http2); in cupsGetPPD3()
515 http_t *http2; /* Alternate HTTP connection */ in cups_get_printer_uri() local
654 http2 = http; in cups_get_printer_uri()
655 …else if ((http2 = httpConnect2(host, *port, NULL, AF_UNSPEC, cupsEncryption(), 1, 30000, NULL)) ==… in cups_get_printer_uri()
668 cups_get_printer_uri(http2, classname, host, hostsize, port, in cups_get_printer_uri()
675 if (http2 != http) in cups_get_printer_uri()
676 httpClose(http2); in cups_get_printer_uri()