server_config
.server_config = {
.server_config = {
.server_config = {
struct peer_config server_config;
if ((server_ctx = peer_config_to_ssl_ctx(&test->server_config)) == NULL)
.server_config = {
.server_config = {
.server_config = {
.server_config = {
if ((server_ctx = peer_config_to_ssl_ctx(&test->server_config)) == NULL)
struct peer_config server_config;
.server_config = {
.server_config = {
.server_config = {
clear_config_server_ptrs(struct server_config *cfg)
struct server_config s;
struct server_config *srv_conf = &srv->srv_conf;
struct server_config *srv_conf, *iconf;
int config_getserver_auth(struct httpd *, struct server_config *);
struct server_config *srv_conf = &srv->srv_conf;
struct server_config *srv_conf = &srv->srv_conf;
config_getserver_auth(struct httpd *env, struct server_config *srv_conf)
struct server_config *srv_conf, *parent;
struct server_config srv_conf;
config_gettls(struct httpd *env, struct server_config *srv_conf,
struct server_config *srv_conf = NULL;
media_find_config(struct httpd *env, struct server_config *srv_conf,
TAILQ_ENTRY(server_config) entry;
TAILQ_HEAD(serverhosts, server_config);
struct server_config srv_conf;
void server_generate_ticket_key(struct server_config *);
void serverconfig_free(struct server_config *);
void serverconfig_reset(struct server_config *);
struct server_config *);
void server_sendlog(struct server_config *, int, const char *, ...)
struct server_config *
struct server_config *, void *), void *);
struct server_config *
int server_locationaccesstest(struct server_config *, const char *);
media_find_config(struct httpd *, struct server_config *,
logger_open(struct server *srv, struct server_config *srv_conf, void *arg)
struct server_config *srv_conf;
int logger_open(struct server *, struct server_config *, void *);
static struct server_config *srv_conf = NULL;
struct server *server_inherit(struct server *, struct server_config *,
struct server_config *);
int get_fastcgi_dest(struct server_config *, const char *, char *);
void remove_locations(struct server_config *);
server_inherit(struct server *src, struct server_config *alias,
struct server_config *addr)
struct server_config *s_conf, *alias = NULL;
get_fastcgi_dest(struct server_config *xsrv_conf, const char *node, char *port)
remove_locations(struct server_config *xsrv_conf)
struct server_config *a, *b;
struct server_config *alias;
struct server_config *sc;
server_sendlog(struct server_config *srv_conf, int cmd, const char *emsg, ...)
struct server_config *srv_conf = clt->clt_srv_conf;
struct server_config *sc1, *sc2;
struct server_config *srv_conf;
server_generate_ticket_key(struct server_config *srv_conf)
struct server_config *srv_conf;
serverconfig_free(struct server_config *srv_conf)
serverconfig_reset(struct server_config *srv_conf)
struct server_config *
struct server_config *srv_conf;
struct server_config *, void *), void *arg)
struct server_config *srv_conf;
struct server_config *, int, int);
struct server_config *);
struct server_config *srv_conf, int fd, int reuseport)
struct server_config *srv_conf)
struct server_config *srv_conf)
struct server_config *srv_conf = clt->clt_srv_conf;
struct server_config *srv_conf = clt->clt_srv_conf;
struct server_config *srv_conf = clt->clt_srv_conf;
struct server_config *srv_conf = clt->clt_srv_conf;
struct server_config *srv_conf = clt->clt_srv_conf;
struct server_config *srv_conf = clt->clt_srv_conf;
struct server_config *srv_conf = clt->clt_srv_conf;
struct server_config *srv_conf = clt->clt_srv_conf;
struct server_config *srv_conf = clt->clt_srv_conf;
server_http_authenticate(struct server_config *srv_conf, struct client *clt)
struct server_config *srv_conf = &srv->srv_conf;
struct server_config *
struct server_config *srv_conf = clt->clt_srv_conf, *location;
server_locationaccesstest(struct server_config *srv_conf, const char *path)
struct server_config *srv_conf = clt->clt_srv_conf;
struct server_config *srv_conf;
int server_http_authenticate(struct server_config *,
struct server_config *srv_conf = clt->clt_srv_conf;
struct tls_config *client_config, *server_config;
if ((server_config = tls_config_new()) == NULL)
if (server_config && server_ctx) {
if (tls_config_set_key_file(server_config, p) == -1) {
tls_config_error(server_config));
if (tls_config_set_cert_file(server_config, p) == -1) {
tls_config_error(server_config));
if (tls_config_set_ca_file(server_config,
tls_config_error(server_config));
tls_config_set_ca_mem(server_config, "", 0);
tls_config_verify_client(server_config);
if (tls_config_set_protocols(server_config,
tls_config_error(server_config));
if (tls_config_set_ciphers(server_config, "compat") != 0)
tls_config_error(server_config));
if (tls_configure(server_ctx, server_config) != 0) {