Searched refs:keep_alive (Results 1 - 11 of 11) sorted by relevance

/freebsd-current/crypto/openssl/crypto/cmp/
H A Dcmp_http.c31 static int keep_alive(int keep_alive, int body_type) argument
33 if (keep_alive != 0
43 keep_alive = 0;
44 return keep_alive;
89 keep_alive(ctx->keep_alive, req->body->type));
H A Dcmp_ctx.c118 ctx->keep_alive = 1;
1093 ctx->keep_alive = val;
1160 return ctx->keep_alive;
H A Dcmp_local.h49 int keep_alive; /* persistent connection: 0=no, 1=prefer, 2=require */ member in struct:ossl_cmp_ctx_st
/freebsd-current/crypto/openssl/test/
H A Dhttp_test.c25 int keep_alive; member in struct:__anon136
32 * Respond with HTTP version 1.'version' and 'keep_alive' (unless implicit).
34 static int mock_http_server(BIO *in, BIO *out, char version, int keep_alive, argument
77 if ((version == '0') == keep_alive) /* otherwise, default */
108 ret = mock_http_server(bio, args->out, args->version, args->keep_alive,
143 0 /* keep_alive */);
157 static int test_http_keep_alive(char version, int keep_alive, int kept_alive) argument
171 mock_args.keep_alive = kept_alive;
184 keep_alive);
185 if (keep_alive
[all...]
/freebsd-current/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-current/crypto/openssl/apps/include/
H A Dhttp_server.h96 * keep_alive: grant persistent connnection
102 int http_server_send_asn1_resp(BIO *cbio, int keep_alive,
/freebsd-current/crypto/openssl/crypto/http/
H A Dhttp_client.c65 int keep_alive; /* Persistent conn. 0=no, 1=prefer, 2=require */ member in struct:ossl_http_req_ctx_st
245 int timeout, int keep_alive)
251 if (keep_alive != 0
269 rctx->keep_alive = keep_alive;
286 if (rctx->keep_alive != 0
749 if (rctx->keep_alive != 0 /* do not let server initiate keep_alive */
751 if (rctx->keep_alive == 2) {
752 rctx->keep_alive
243 OSSL_HTTP_REQ_CTX_set_expected(OSSL_HTTP_REQ_CTX *rctx, const char *content_type, int asn1, int timeout, int keep_alive) argument
1015 OSSL_HTTP_set1_request(OSSL_HTTP_REQ_CTX *rctx, const char *path, const STACK_OF(CONF_VALUE) *headers, const char *content_type, BIO *req, const char *expected_content_type, int expect_asn1, size_t max_resp_len, int timeout, int keep_alive) argument
1212 OSSL_HTTP_transfer(OSSL_HTTP_REQ_CTX **prctx, const char *server, const char *port, const char *path, int use_ssl, const char *proxy, const char *no_proxy, BIO *bio, BIO *rbio, OSSL_HTTP_bio_cb_t bio_update_fn, void *arg, int buf_size, const STACK_OF(CONF_VALUE) *headers, const char *content_type, BIO *req, const char *expected_ct, int expect_asn1, size_t max_resp_len, int timeout, int keep_alive) argument
[all...]
/freebsd-current/sys/dev/iwm/
H A Dif_iwm_power.c285 int keep_alive; local
299 keep_alive
301 keep_alive = roundup(keep_alive, 1000) / 1000;
302 cmd->keep_alive_seconds = htole16(keep_alive);
/freebsd-current/sys/contrib/dev/iwlwifi/mvm/
H A Dpower.c343 int keep_alive; local
358 keep_alive = DIV_ROUND_UP(ieee80211_tu_to_usec(3 * dtimper * bi),
360 keep_alive = max(keep_alive, POWER_KEEP_ALIVE_PERIOD_SEC);
361 cmd->keep_alive_seconds = cpu_to_le16(keep_alive);
716 pos += scnprintf(buf+pos, bufsz-pos, "keep_alive = %d\n",
/freebsd-current/crypto/openssl/apps/lib/
H A Dhttp_server.c508 int http_server_send_asn1_resp(BIO *cbio, int keep_alive, argument
515 keep_alive ? "Connection: keep-alive\r\n" : "",
/freebsd-current/crypto/openssl/apps/
H A Dcmp.c366 {"keep_alive", OPT_KEEP_ALIVE, 'N',
2369 CMP_err("-keep_alive argument must be 0, 1, or 2");
2684 int keep_alive = 0; local
2698 &cbio, acbio, &keep_alive,
2731 ret = http_server_send_asn1_resp(cbio, keep_alive,
2744 if (!ret || !keep_alive

Completed in 221 milliseconds