ssl_scache.c revision 08cb74ca432a8c24e39f17dedce527e6a47b8001
/* Copyright 2001-2005 The Apache Software Foundation or its licensors, as
* applicable.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/* _ _
* _ __ ___ ___ __| | ___ ___| | mod_ssl
* | '_ ` _ \ / _ \ / _` | / __/ __| | Apache Interface to OpenSSL
* | | | | | | (_) | (_| | \__ \__ \ |
* |_| |_| |_|\___/ \__,_|___|___/___/_|
* |_____|
* Session Cache Abstraction
*/
/* ``Open-Source Software: generous
programmers from around the world all
join forces to help you shoot
yourself in the foot for free.''
-- Unknown */
#include "ssl_private.h"
#include "mod_status.h"
/* _________________________________________________________________
**
** Session Cache: Common Abstraction Layer
** _________________________________________________________________
*/
{
/*
* Warn the user that he should use the session cache.
* But we can operate without it, of course.
*/
"Init: Session Cache is not configured "
"[hint: SSLSessionCache]");
return;
}
ssl_scache_dbm_init(s, p);
#ifdef HAVE_DISTCACHE
ssl_scache_dc_init(s, p);
#endif
void *data;
const char *userdata_key = "ssl_scache_init";
if (!data) {
return;
}
ssl_scache_shmcb_init(s, p);
}
}
void ssl_scache_kill(server_rec *s)
{
#ifdef HAVE_DISTCACHE
#endif
return;
}
{
#ifdef HAVE_DISTCACHE
#endif
return rv;
}
{
#ifdef HAVE_DISTCACHE
#endif
return sess;
}
{
#ifdef HAVE_DISTCACHE
#endif
return;
}
/* _________________________________________________________________
**
** SSL Extension to mod_status
** _________________________________________________________________
*/
{
return OK;
ap_rputs("<hr>\n", r);
ap_rputs("<table cellspacing=0 cellpadding=0>\n", r);
ap_rputs("<tr><td bgcolor=\"#000000\">\n", r);
ap_rputs("<b><font color=\"#ffffff\" face=\"Arial,Helvetica\">SSL/TLS Session Cache Status:</font></b>\r", r);
ap_rputs("</td></tr>\n", r);
ap_rputs("<tr><td bgcolor=\"#ffffff\">\n", r);
#ifdef HAVE_DISTCACHE
#endif
ap_rputs("</td></tr>\n", r);
ap_rputs("</table>\n", r);
return OK;
}
void ssl_scache_status_register(apr_pool_t *p)
{
}