/openssl/crypto/cmp/ |
H A D | cmp_http.c | 29 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 D | cmp_ctx.c | 121 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 D | cmp_local.h | 49 int keep_alive; /* persistent connection: 0=no, 1=prefer, 2=require */ member
|
/openssl/test/recipes/80-test_cmp_http_data/ |
H A D | test_connection.csv | 1 …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 D | http_test.c | 27 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 D | http.h | 49 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 D | http_client.c | 65 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 D | http_server.h | 103 int http_server_send_asn1_resp(BIO *cbio, int keep_alive,
|
/openssl/apps/lib/ |
H A D | http_server.c | 523 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 D | OSSL_HTTP_REQ_CTX.pod | 38 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 D | OSSL_HTTP_transfer.pod | 33 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 D | cmp.c | 2700 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 D | openssl-cmp.pod.in | 55 [B<-keep_alive> I<value>] 500 =item B<-keep_alive> I<value>
|