/httpd/modules/ssl/ |
H A D | ssl_scache.c | 113 BOOL ssl_scache_store(server_rec *s, UCHAR *id, int idlen, argument 137 rv = mc->sesscache->store(mc->sesscache_context, s, id, idlen, 147 SSL_SESSION *ssl_scache_retrieve(server_rec *s, UCHAR *id, int idlen, argument 160 rv = mc->sesscache->retrieve(mc->sesscache_context, s, id, idlen, 176 void ssl_scache_remove(server_rec *s, UCHAR *id, int idlen, argument 185 mc->sesscache->remove(mc->sesscache_context, s, id, idlen, p);
|
H A D | ssl_util_ssl.c | 584 char *SSL_SESSION_id2sz(unsigned char *id, int idlen, argument 587 if (idlen > SSL_MAX_SSL_SESSION_ID_LENGTH) 588 idlen = SSL_MAX_SSL_SESSION_ID_LENGTH; 592 if (idlen > (strsize-1) / 2) 593 idlen = (strsize-1) / 2; 595 ap_bin2hex(id, idlen, str);
|
H A D | ssl_engine_vars.c | 413 unsigned int idlen; local 416 id = (unsigned char *)SSL_SESSION_get_id(pSession, &idlen); 419 idlen = pSession->session_id_length; 422 result = apr_pstrdup(p, SSL_SESSION_id2sz(id, idlen,
|
H A D | ssl_engine_kernel.c | 1652 unsigned int idlen, 1673 SSL_SESSION_id2sz(id, idlen, buf, sizeof(buf)), 1692 unsigned int idlen; local 1705 id = (unsigned char *)SSL_SESSION_get_id(session, &idlen); 1708 idlen = session->session_id_length; 1711 rc = ssl_scache_store(s, id, idlen, 1716 ssl_session_log(s, "SET", id, idlen, 1736 int idlen, int *do_copy) 1746 session = ssl_scache_retrieve(s, id, idlen, conn->pool); 1748 ssl_session_log(s, "GET", id, idlen, 1649 ssl_session_log(server_rec *s, const char *request, unsigned char *id, unsigned int idlen, const char *status, const char *result, long timeout) argument 1734 ssl_callback_GetSessionCacheEntry(SSL *ssl, unsigned char *id, int idlen, int *do_copy) argument 1775 unsigned int idlen; local [all...] |
/httpd/modules/cache/ |
H A D | mod_socache_dc.c | 95 const unsigned char *id, unsigned int idlen, 106 if (!DC_CTX_add_session(ctx->dc, id, idlen, der, der_len, 116 const unsigned char *id, unsigned int idlen, 123 if (!DC_CTX_get_session(ctx->dc, id, idlen, dest, *destlen, &data_len)) { 138 unsigned int idlen, apr_pool_t *p) 141 if (!DC_CTX_remove_session(ctx->dc, id, idlen)) { 94 socache_dc_store(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, apr_time_t expiry, unsigned char *der, unsigned int der_len, apr_pool_t *p) argument 115 socache_dc_retrieve(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, unsigned char *dest, unsigned int *destlen, apr_pool_t *p) argument 136 socache_dc_remove(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, apr_pool_t *p) argument
|
H A D | mod_socache_dbm.c | 77 unsigned int idlen, apr_pool_t *p); 193 unsigned int idlen, apr_time_t expiry, 204 if ((idlen + nData) >= PAIRMAX) { 207 (idlen + nData), PAIRMAX); 211 if ((idlen + nData) >= 950 /* at least less than approx. 1KB */) { 214 (idlen + nData), 950); 221 dbmkey.dsize = idlen; 261 const unsigned char *id, unsigned int idlen, 278 dbmkey.dsize = idlen; 319 socache_dbm_remove(ctx, s, id, idlen, 191 socache_dbm_store(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, apr_time_t expiry, unsigned char *ucaData, unsigned int nData, apr_pool_t *pool) argument 260 socache_dbm_retrieve(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, unsigned char *dest, unsigned int *destlen, apr_pool_t *p) argument 326 socache_dbm_remove(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, apr_pool_t *p) argument [all...] |
H A D | mod_socache_memcache.c | 181 const unsigned char *id, unsigned int idlen, 186 if (idlen * 2 + ctx->taglen >= keylen) 190 ap_bin2hex(id, idlen, cp); 196 const unsigned char *id, unsigned int idlen, 204 if (socache_mc_id2key(ctx, id, idlen, buf, sizeof buf)) { 228 const unsigned char *id, unsigned int idlen, 236 if (socache_mc_id2key(ctx, id, idlen, buf, sizeof buf)) { 265 unsigned int idlen, apr_pool_t *p) 270 if (socache_mc_id2key(ctx, id, idlen, buf, sizeof buf)) { 180 socache_mc_id2key(ap_socache_instance_t *ctx, const unsigned char *id, unsigned int idlen, char *key, apr_size_t keylen) argument 195 socache_mc_store(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, apr_time_t expiry, unsigned char *ucaData, unsigned int nData, apr_pool_t *p) argument 227 socache_mc_retrieve(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, unsigned char *dest, unsigned int *destlen, apr_pool_t *p) argument 263 socache_mc_remove(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, apr_pool_t *p) argument
|
H A D | mod_socache_shmcb.c | 262 const unsigned char *id, unsigned int idlen, 480 unsigned int idlen, apr_time_t expiry, 493 if (idlen < 4) { 495 "(%u bytes)", idlen); 498 tryreplace = shmcb_subcache_remove(s, header, subcache, id, idlen); 500 len_encoded, id, idlen, expiry)) { 518 const unsigned char *id, unsigned int idlen, 531 rv = shmcb_subcache_retrieve(s, header, subcache, id, idlen, 545 unsigned int idlen, apr_pool_t *p) 554 if (idlen < 478 socache_shmcb_store(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, apr_time_t expiry, unsigned char *encoded, unsigned int len_encoded, apr_pool_t *p) argument 516 socache_shmcb_retrieve(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, unsigned char *dest, unsigned int *destlen, apr_pool_t *p) argument 543 socache_shmcb_remove(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, apr_pool_t *p) argument 854 shmcb_subcache_retrieve(server_rec *s, SHMCBHeader *header, SHMCBSubcache *subcache, const unsigned char *id, unsigned int idlen, unsigned char *dest, unsigned int *destlen) argument 917 shmcb_subcache_remove(server_rec *s, SHMCBHeader *header, SHMCBSubcache *subcache, const unsigned char *id, unsigned int idlen) argument [all...] |