Lines Matching defs:server

54     char *server;               /* Optional server host name */
55 char *port; /* Optional server port */
131 OPENSSL_free(rctx->server);
170 const char *server, const char *port,
185 if (server != NULL) { /* HTTP (but not HTTPS) proxy is used */
190 if (BIO_printf(rctx->mem, OSSL_HTTP_PREFIX"%s", server) <= 0)
368 const char *server, const char *port,
382 if (server != NULL
383 && (rctx->server = OPENSSL_strdup(server)) == NULL)
738 if (rctx->keep_alive != 0 /* do not let server initiate keep_alive */
843 /* set up a new connection BIO, to HTTP server or to HTTP(S) proxy if given */
844 static BIO *http_new_bio(const char *server /* optionally includes ":port" */,
845 const char *server_port /* explicit server port */,
850 const char *host = server;
854 if (!ossl_assert(server != NULL))
915 /* Initiate an HTTP session using bio, else use given server, proxy, etc. */
916 OSSL_HTTP_REQ_CTX *OSSL_HTTP_open(const char *server, const char *port,
944 if (server == NULL) {
950 if (port == NULL && strchr(server, ':') == NULL)
952 proxy = OSSL_HTTP_adapt_proxy(proxy, no_proxy, server, use_ssl);
958 cbio = http_new_bio(server, port, use_ssl, proxy_host, proxy_port);
991 bio_update_fn, arg, use_ssl, proxy, server, port,
1017 if (use_http_proxy && rctx->server == NULL) {
1024 use_http_proxy ? rctx->server
1026 && add1_headers(rctx, headers, rctx->server)
1071 if (rctx->server != NULL) {
1072 BIO_snprintf(buf, sizeof(buf), "server=http%s://%s%s%s",
1073 rctx->use_ssl ? "s" : "", rctx->server,
1101 if (*new_url == '/') /* redirection to same server => same protocol */
1111 /* Get data via HTTP from server at given URL, potentially with redirection */
1165 if (*redirection_url == '/') { /* redirection to same server */
1202 const char *server, const char *port,
1216 rctx = OSSL_HTTP_open(server, port, proxy, no_proxy,
1285 int OSSL_HTTP_proxy_connect(BIO *bio, const char *server, const char *port,
1299 if (bio == NULL || server == NULL
1313 BIO_printf(fbio, "CONNECT %s:%s "HTTP_1_0"\r\n", server, port);