Home
last modified time | relevance | path

Searched refs:keep_alive (Results 1 – 17 of 17) 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
45 0,keep_alive missing argument, -section,,,,,,,,BLANK,,,,BLANK,,BLANK,, -keep_alive,
46 0,keep_alive negative, -section,,,,,,,,BLANK,,,,BLANK,,BLANK,, -keep_alive,-1
47 1,keep_alive 0, -section,,,,,,,,BLANK,,,,BLANK,,BLANK,, -keep_alive,0
48 1,keep_alive 1, -section,,,,,,,,BLANK,,,,BLANK,,BLANK,, -keep_alive,1
49 1,keep_alive 2, -section,,,,,,,,BLANK,,,,BLANK,,BLANK,, -keep_alive,2
50 0,keep_alive too large, -section,,,,,,,,BLANK,,,,BLANK,,BLANK,, -keep_alive,3
51 0,keep_alive extremely large, -section,,,,,,,,BLANK,,,,BLANK,,BLANK,, -keep_alive,99999999999999999…
/freebsd/crypto/openssl/crypto/cmp/
H A Dcmp_http.c29 static int keep_alive(int keep_alive, int body_type, BIO **bios) in keep_alive() function
31 if (keep_alive != 0 && bios == NULL in keep_alive()
41 keep_alive = 0; in keep_alive()
42 return keep_alive; in keep_alive()
103 keep_alive(ctx->keep_alive, req->body->type, bios)); in OSSL_CMP_MSG_http_perform()
H A Dcmp_ctx.c124 ctx->keep_alive = 1; in OSSL_CMP_CTX_new()
957 ctx->keep_alive = val; in DEFINE_set1_ASN1_OCTET_STRING()
1029 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.c31 int keep_alive; member
43 static int mock_http_server(BIO *in, BIO *out, char version, int keep_alive, in mock_http_server() argument
102 if ((version == '0') == keep_alive) /* otherwise, default */ in mock_http_server()
143 ret = mock_http_server(bio, args->out, args->version, args->keep_alive, in http_bio_cb_ex()
242 static int test_http_keep_alive(char version, int keep_alive, int kept_alive) in test_http_keep_alive() argument
257 mock_args.keep_alive = kept_alive; in test_http_keep_alive()
270 keep_alive); in test_http_keep_alive()
271 if (keep_alive == 2 && kept_alive == 0) in test_http_keep_alive()
276 && TEST_int_eq(OSSL_HTTP_is_alive(rctx), keep_alive > 0); in test_http_keep_alive()
279 keep_alive = 0; in test_http_keep_alive()
/freebsd/crypto/openssl/include/openssl/
H A Dhttp.h57 int timeout, int keep_alive);
86 size_t max_resp_len, int timeout, int keep_alive);
103 size_t max_resp_len, int timeout, int keep_alive);
/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/sys/contrib/dev/iwlwifi/mld/
H A Dpower.c210 int keep_alive; in iwl_mld_power_build_cmd() local
243 keep_alive = DIV_ROUND_UP(ieee80211_tu_to_usec(3 * dtimper * bi), in iwl_mld_power_build_cmd()
245 keep_alive = max(keep_alive, POWER_KEEP_ALIVE_PERIOD_SEC); in iwl_mld_power_build_cmd()
246 cmd->keep_alive_seconds = cpu_to_le16(keep_alive); in iwl_mld_power_build_cmd()
/freebsd/crypto/openssl/crypto/http/
H A Dhttp_client.c68 int keep_alive; /* Persistent conn. 0=no, 1=prefer, 2=require */ member
254 int timeout, int keep_alive) in OSSL_HTTP_REQ_CTX_set_expected() argument
260 if (keep_alive != 0 in OSSL_HTTP_REQ_CTX_set_expected()
278 rctx->keep_alive = keep_alive; in OSSL_HTTP_REQ_CTX_set_expected()
295 if (rctx->keep_alive != 0 in set1_content()
854 if (rctx->keep_alive != 0 /* do not let server initiate keep_alive */ in OSSL_HTTP_REQ_CTX_nbio()
856 if (rctx->keep_alive == 2) { in OSSL_HTTP_REQ_CTX_nbio()
857 rctx->keep_alive = 0; in OSSL_HTTP_REQ_CTX_nbio()
861 rctx->keep_alive = 0; in OSSL_HTTP_REQ_CTX_nbio()
1055 return rctx != NULL && rctx->keep_alive != 0; in OSSL_HTTP_is_alive()
[all …]
/freebsd/crypto/openssl/apps/include/
H A Dhttp_server.h84 int http_server_send_asn1_resp(const char *prog, BIO *cbio, int keep_alive,
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dpower.c350 int keep_alive; in iwl_mvm_power_build_cmd() local
365 keep_alive = DIV_ROUND_UP(ieee80211_tu_to_usec(3 * dtimper * bi), in iwl_mvm_power_build_cmd()
367 keep_alive = max(keep_alive, POWER_KEEP_ALIVE_PERIOD_SEC); in iwl_mvm_power_build_cmd()
368 cmd->keep_alive_seconds = cpu_to_le16(keep_alive); in iwl_mvm_power_build_cmd()
/freebsd/crypto/openssl/apps/lib/
H A Dhttp_server.c503 int http_server_send_asn1_resp(const char *prog, BIO *cbio, int keep_alive, in http_server_send_asn1_resp() argument
511 keep_alive ? "Connection: keep-alive\r\n" : "", in http_server_send_asn1_resp()
/freebsd/crypto/openssl/doc/man3/
H A DOSSL_HTTP_REQ_CTX.pod39 int timeout, int keep_alive);
98 Due to the structure of an HTTP request, if the I<keep_alive> argument is
128 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);
184 and I<keep_alive> parameters, see L<OSSL_HTTP_REQ_CTX_set_expected(3)>.
/freebsd/crypto/openssl/apps/
H A Dcmp.c3287 int keep_alive = 0; in cmp_server() local
3301 &cbio, acbio, &keep_alive, in cmp_server()
3334 ret = http_server_send_asn1_resp(prog, cbio, keep_alive, in cmp_server()
3347 if (!ret || !keep_alive in cmp_server()
/freebsd/sys/dev/iwx/
H A Dif_iwx.c6038 int dtim_period, dtim_msec, keep_alive; in iwx_power_build_cmd() local
6054 keep_alive = MAX(3 * dtim_msec, 1000 * IWX_POWER_KEEP_ALIVE_PERIOD_SEC); in iwx_power_build_cmd()
6055 keep_alive = roundup(keep_alive, 1000) / 1000; in iwx_power_build_cmd()
6056 cmd->keep_alive_seconds = htole16(keep_alive); in iwx_power_build_cmd()
/freebsd/crypto/openssl/doc/man1/
H A Dopenssl-cmp.pod.in61 [B<-keep_alive> I<value>]
584 =item B<-keep_alive> I<value>