[core] remove srv->split_vals

This commit is contained in:
Glenn Strauss 2019-06-15 01:21:32 -04:00
parent bcd5288557
commit 9858051d03
3 changed files with 0 additions and 6 deletions

View File

@ -404,8 +404,6 @@ struct server {
/* caches */
mtime_cache_type mtime_cache[FILE_CACHE_MAX];
array *split_vals;
log_error_st *errh;
/* Timestamps */

View File

@ -306,7 +306,6 @@ static server *server_init(void) {
srv->srvconf.compat_module_load = 1;
srv->srvconf.systemd_socket_activation = 0;
srv->split_vals = array_init();
srv->request_env = plugins_call_handle_request_env;
return srv;
@ -392,7 +391,6 @@ static void server_free(server *srv) {
}
array_free(srv->srvconf.modules);
array_free(srv->split_vals);
li_rand_cleanup();
chunkqueue_chunk_pool_free();

View File

@ -453,7 +453,6 @@ int main (void)
memset(&srv, 0, sizeof(server));
srv.errh = log_error_st_init(&srv.cur_ts, &srv.last_generated_debug_ts);
srv.errh->errorlog_fd = -1; /* (disable) */
srv.split_vals = array_init();
memset(&con, 0, sizeof(connection));
con.proto = buffer_init();
@ -474,7 +473,6 @@ int main (void)
buffer_free(con.request.uri);
array_free(con.request.headers);
array_free(srv.split_vals);
log_error_st_free(srv.errh);
return 0;