Lines Matching refs:fbio
1394 BIO *fbio = BIO_new(BIO_f_buffer()); in OSSL_HTTP_proxy_connect() local
1406 if (mbuf == NULL || fbio == NULL) { in OSSL_HTTP_proxy_connect()
1410 BIO_push(fbio, bio); in OSSL_HTTP_proxy_connect()
1412 BIO_printf(fbio, "CONNECT %s:%s "HTTP_1_0"\r\n", server, port); in OSSL_HTTP_proxy_connect()
1418 BIO_printf(fbio, "Proxy-Connection: Keep-Alive\r\n"); in OSSL_HTTP_proxy_connect()
1435 BIO_printf(fbio, "Proxy-Authorization: Basic %s\r\n", proxyauthenc); in OSSL_HTTP_proxy_connect()
1445 BIO_printf(fbio, "\r\n"); in OSSL_HTTP_proxy_connect()
1448 if (BIO_flush(fbio) != 0) in OSSL_HTTP_proxy_connect()
1451 if (!BIO_should_retry(fbio)) in OSSL_HTTP_proxy_connect()
1457 rv = BIO_wait(fbio, max_time, 100 /* milliseconds */); in OSSL_HTTP_proxy_connect()
1469 read_len = BIO_gets(fbio, mbuf, BUF_SIZE); in OSSL_HTTP_proxy_connect()
1516 read_len = BIO_gets(fbio, mbuf, BUF_SIZE); in OSSL_HTTP_proxy_connect()
1520 if (fbio != NULL) { in OSSL_HTTP_proxy_connect()
1521 (void)BIO_flush(fbio); in OSSL_HTTP_proxy_connect()
1522 BIO_pop(fbio); in OSSL_HTTP_proxy_connect()
1523 BIO_free(fbio); in OSSL_HTTP_proxy_connect()