Lines Matching refs:server

55     char *server;               /* Optional server hostname */  member
139 OPENSSL_free(rctx->server); in OSSL_HTTP_REQ_CTX_free()
179 const char *server, const char *port, in OSSL_HTTP_REQ_CTX_set_request_line() argument
194 if (server != NULL) { /* HTTP (but not HTTPS) proxy is used */ in OSSL_HTTP_REQ_CTX_set_request_line()
199 if (BIO_printf(rctx->mem, OSSL_HTTP_PREFIX"%s", server) <= 0) in OSSL_HTTP_REQ_CTX_set_request_line()
209 if (server != NULL) { in OSSL_HTTP_REQ_CTX_set_request_line()
398 const char *server, const char *port, in http_req_ctx_new() argument
412 if (server != NULL in http_req_ctx_new()
413 && (rctx->server = OPENSSL_strdup(server)) == NULL) in http_req_ctx_new()
989 static BIO *http_new_bio(const char *server /* optionally includes ":port" */, in http_new_bio() argument
995 const char *host = server; in http_new_bio()
999 if (!ossl_assert(server != NULL)) in http_new_bio()
1060 OSSL_HTTP_REQ_CTX *OSSL_HTTP_open(const char *server, const char *port, in OSSL_HTTP_open() argument
1088 if (server == NULL) { in OSSL_HTTP_open()
1094 proxy = OSSL_HTTP_adapt_proxy(proxy, no_proxy, server, use_ssl); in OSSL_HTTP_open()
1100 cbio = http_new_bio(server, port, use_ssl, proxy_host, proxy_port); in OSSL_HTTP_open()
1133 bio_update_fn, arg, use_ssl, proxy, server, port, in OSSL_HTTP_open()
1159 if (use_http_proxy && rctx->server == NULL) { in OSSL_HTTP_set1_request()
1166 use_http_proxy ? rctx->server in OSSL_HTTP_set1_request()
1168 && add1_headers(rctx, headers, rctx->server) in OSSL_HTTP_set1_request()
1213 if (rctx->server != NULL && *rctx->server != '\0') { in OSSL_HTTP_exchange()
1215 rctx->use_ssl ? "s" : "", rctx->server, in OSSL_HTTP_exchange()
1344 const char *server, const char *port, in OSSL_HTTP_transfer() argument
1358 rctx = OSSL_HTTP_open(server, port, proxy, no_proxy, in OSSL_HTTP_transfer()
1429 int OSSL_HTTP_proxy_connect(BIO *bio, const char *server, const char *port, in OSSL_HTTP_proxy_connect() argument
1443 if (bio == NULL || server == NULL in OSSL_HTTP_proxy_connect()
1457 BIO_printf(fbio, "CONNECT %s:%s "HTTP_1_0"\r\n", server, port); in OSSL_HTTP_proxy_connect()