Lines Matching defs:out
23 BIO *out;
30 * For POST, copy request headers+body from mem BIO 'in' as response to 'out'.
34 static int mock_http_server(BIO *in, BIO *out, char version, int keep_alive,
65 if (count < 0 || out == NULL)
71 return BIO_printf(out, "HTTP/1.%c 301 Moved Permanently\r\n"
75 if (BIO_printf(out, "HTTP/1.%c 200 OK\r\n", version) <= 0)
78 if (BIO_printf(out, "Connection: %s\r\n",
84 if (BIO_printf(out, "Content-Type: application/x-x509-ca-cert\r\n"
87 return ASN1_item_i2d_bio(it, out, rsp);
98 return BIO_write(out, hdr, count) == count;
108 ret = mock_http_server(bio, args->out, args->version, args->keep_alive,
126 mock_args.out = rbio;
169 mock_args.out = rbio;