Home
last modified time | relevance | path

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

/freebsd/crypto/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
/freebsd/crypto/openssl/crypto/cmp/
H A Dcmp_http.c31 static int keep_alive(int keep_alive, int body_type) in keep_alive() function
33 if (keep_alive != 0 in keep_alive()
43 keep_alive = 0; in keep_alive()
44 return keep_alive; in keep_alive()
89 keep_alive(ctx->keep_alive, req->body->type)); in OSSL_CMP_MSG_http_perform()
H A Dcmp_ctx.c118 ctx->keep_alive = 1; in OSSL_CMP_CTX_new()
1093 ctx->keep_alive = val; in OSSL_CMP_CTX_set_option()
1160 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
/freebsd/crypto/openssl/test/
H A Dhttp_test.c25 int keep_alive; member
34 static int mock_http_server(BIO *in, BIO *out, char version, int keep_alive, in mock_http_server() argument
77 if ((version == '0') == keep_alive) /* otherwise, default */ in mock_http_server()
108 ret = mock_http_server(bio, args->out, args->version, args->keep_alive, in http_bio_cb_ex()
157 static int test_http_keep_alive(char version, int keep_alive, int kept_alive) in test_http_keep_alive() argument
171 mock_args.keep_alive = kept_alive; in test_http_keep_alive()
184 keep_alive); in test_http_keep_alive()
185 if (keep_alive == 2 && kept_alive == 0) in test_http_keep_alive()
190 && TEST_int_eq(OSSL_HTTP_is_alive(rctx), keep_alive > 0); in test_http_keep_alive()
193 keep_alive = 0; in test_http_keep_alive()
/freebsd/crypto/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);
/freebsd/crypto/openssl/crypto/http/
H A Dhttp_client.c65 int keep_alive; /* Persistent conn. 0=no, 1=prefer, 2=require */ member
245 int timeout, int keep_alive) in OSSL_HTTP_REQ_CTX_set_expected() argument
251 if (keep_alive != 0 in OSSL_HTTP_REQ_CTX_set_expected()
269 rctx->keep_alive = keep_alive; in OSSL_HTTP_REQ_CTX_set_expected()
286 if (rctx->keep_alive != 0 in set1_content()
751 if (rctx->keep_alive == 2) { in OSSL_HTTP_REQ_CTX_nbio()
752 rctx->keep_alive = 0; in OSSL_HTTP_REQ_CTX_nbio()
756 rctx->keep_alive = 0; in OSSL_HTTP_REQ_CTX_nbio()
921 return rctx != NULL && rctx->keep_alive != 0; in OSSL_HTTP_is_alive()
1221 size_t max_resp_len, int timeout, int keep_alive) in OSSL_HTTP_transfer() argument
[all …]
/freebsd/sys/dev/iwm/
H A Dif_iwm_power.c285 int keep_alive; in iwm_power_build_cmd() local
299 keep_alive in iwm_power_build_cmd()
301 keep_alive = roundup(keep_alive, 1000) / 1000; in iwm_power_build_cmd()
302 cmd->keep_alive_seconds = htole16(keep_alive); in iwm_power_build_cmd()
/freebsd/crypto/openssl/apps/include/
H A Dhttp_server.h102 int http_server_send_asn1_resp(BIO *cbio, int keep_alive,
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dpower.c343 int keep_alive; in iwl_mvm_power_build_cmd() local
358 keep_alive = DIV_ROUND_UP(ieee80211_tu_to_usec(3 * dtimper * bi), in iwl_mvm_power_build_cmd()
360 keep_alive = max(keep_alive, POWER_KEEP_ALIVE_PERIOD_SEC); in iwl_mvm_power_build_cmd()
361 cmd->keep_alive_seconds = cpu_to_le16(keep_alive); in iwl_mvm_power_build_cmd()
/freebsd/crypto/openssl/apps/lib/
H A Dhttp_server.c508 int http_server_send_asn1_resp(BIO *cbio, int keep_alive, in http_server_send_asn1_resp() argument
515 keep_alive ? "Connection: keep-alive\r\n" : "", in http_server_send_asn1_resp()
/freebsd/crypto/openssl/doc/man3/
H A DOSSL_HTTP_REQ_CTX.pod38 int timeout, int keep_alive);
94 Due to the structure of an HTTP request, if the I<keep_alive> argument is
113 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);
188 If I<keep_alive> is 0 the connection is not kept open
/freebsd/crypto/openssl/apps/
H A Dcmp.c2684 int keep_alive = 0; in cmp_server() local
2698 &cbio, acbio, &keep_alive, in cmp_server()
2731 ret = http_server_send_asn1_resp(cbio, keep_alive, in cmp_server()
2744 if (!ret || !keep_alive in cmp_server()
/freebsd/crypto/openssl/doc/man1/
H A Dopenssl-cmp.pod.in55 [B<-keep_alive> I<value>]
508 =item B<-keep_alive> I<value>