Home
last modified time | relevance | path

Searched refs:keep_alive (Results 1 – 13 of 13) sorted by relevance

/openssl/crypto/cmp/
H A Dcmp_http.c29 static int keep_alive(int keep_alive, int body_type) in keep_alive() argument
31 if (keep_alive != 0 in keep_alive()
41 keep_alive = 0; in keep_alive()
42 return keep_alive; in keep_alive()
87 keep_alive(ctx->keep_alive, req->body->type)); in OSSL_CMP_MSG_http_perform()
H A Dcmp_ctx.c121 ctx->keep_alive = 1; in OSSL_CMP_CTX_new()
902 ctx->keep_alive = val; in DEFINE_set1_ASN1_OCTET_STRING()
969 return ctx->keep_alive; in OSSL_CMP_CTX_get_option()
H A Dcmp_local.h49 int keep_alive; /* persistent connection: 0=no, 1=prefer, 2=require */ member
/openssl/test/recipes/80-test_cmp_http_data/
H A Dtest_connection.csv1 …l, -no_proxy,val, -tls_used,noarg, -path,val, -msg_timeout,int, -total_timeout,int, -keep_alive,val
44 0,keep_alive missing argument, -section,,,,,,,,BLANK,,,,BLANK,,BLANK,, -keep_alive,
45 0,keep_alive negative, -section,,,,,,,,BLANK,,,,BLANK,,BLANK,, -keep_alive,-1
46 1,keep_alive 0, -section,,,,,,,,BLANK,,,,BLANK,,BLANK,, -keep_alive,0
47 1,keep_alive 1, -section,,,,,,,,BLANK,,,,BLANK,,BLANK,, -keep_alive,1
48 1,keep_alive 2, -section,,,,,,,,BLANK,,,,BLANK,,BLANK,, -keep_alive,2
49 0,keep_alive 3, -section,,,,,,,,BLANK,,,,BLANK,,BLANK,, -keep_alive,3
/openssl/test/
H A Dhttp_test.c27 int keep_alive; member
37 static int mock_http_server(BIO *in, BIO *out, char version, int keep_alive, in mock_http_server() argument
78 if ((version == '0') == keep_alive) /* otherwise, default */ in mock_http_server()
112 ret = mock_http_server(bio, args->out, args->version, args->keep_alive, in http_bio_cb_ex()
205 static int test_http_keep_alive(char version, int keep_alive, int kept_alive) in test_http_keep_alive() argument
220 mock_args.keep_alive = kept_alive; in test_http_keep_alive()
233 keep_alive); in test_http_keep_alive()
234 if (keep_alive == 2 && kept_alive == 0) in test_http_keep_alive()
239 && TEST_int_eq(OSSL_HTTP_is_alive(rctx), keep_alive > 0); in test_http_keep_alive()
242 keep_alive = 0; in test_http_keep_alive()
/openssl/include/openssl/
H A Dhttp.h49 int timeout, int keep_alive);
76 size_t max_resp_len, int timeout, int keep_alive);
93 size_t max_resp_len, int timeout, int keep_alive);
/openssl/crypto/http/
H A Dhttp_client.c65 int keep_alive; /* Persistent conn. 0=no, 1=prefer, 2=require */ member
238 int timeout, int keep_alive) in OSSL_HTTP_REQ_CTX_set_expected() argument
244 if (keep_alive != 0 in OSSL_HTTP_REQ_CTX_set_expected()
262 rctx->keep_alive = keep_alive; in OSSL_HTTP_REQ_CTX_set_expected()
279 if (rctx->keep_alive != 0 in set1_content()
767 if (rctx->keep_alive == 2) { in OSSL_HTTP_REQ_CTX_nbio()
768 rctx->keep_alive = 0; in OSSL_HTTP_REQ_CTX_nbio()
772 rctx->keep_alive = 0; in OSSL_HTTP_REQ_CTX_nbio()
941 return rctx != NULL && rctx->keep_alive != 0; in OSSL_HTTP_is_alive()
1236 size_t max_resp_len, int timeout, int keep_alive) in OSSL_HTTP_transfer() argument
[all …]
/openssl/apps/include/
H A Dhttp_server.h103 int http_server_send_asn1_resp(BIO *cbio, int keep_alive,
/openssl/apps/lib/
H A Dhttp_server.c523 int http_server_send_asn1_resp(BIO *cbio, int keep_alive, in http_server_send_asn1_resp() argument
530 keep_alive ? "Connection: keep-alive\r\n" : "", in http_server_send_asn1_resp()
/openssl/doc/man3/
H A DOSSL_HTTP_REQ_CTX.pod38 int timeout, int keep_alive);
90 Due to the structure of an HTTP request, if the I<keep_alive> argument is
117 If the I<keep_alive> parameter is 0, which is the default, the connection is not
H A DOSSL_HTTP_transfer.pod33 size_t max_resp_len, int timeout, int keep_alive);
50 size_t max_resp_len, int timeout, int keep_alive);
193 If I<keep_alive> is 0 the connection is not kept open
/openssl/apps/
H A Dcmp.c2700 int keep_alive = 0; in cmp_server() local
2714 &cbio, acbio, &keep_alive, in cmp_server()
2747 ret = http_server_send_asn1_resp(cbio, keep_alive, in cmp_server()
2760 if (!ret || !keep_alive in cmp_server()
/openssl/doc/man1/
H A Dopenssl-cmp.pod.in55 [B<-keep_alive> I<value>]
500 =item B<-keep_alive> I<value>

Completed in 51 milliseconds