View | Details | Raw Unified | Return to bug 1418
Collapse All | Expand All

(-)b/services/cache/infra.c (-1 / +1 lines)
 Lines 249-255   infra_create(struct config_file* cfg) Link Here 
249
		name_tree_init_parents(&infra->domain_limits);
249
		name_tree_init_parents(&infra->domain_limits);
250
	}
250
	}
251
	infra_ip_ratelimit = cfg->ip_ratelimit;
251
	infra_ip_ratelimit = cfg->ip_ratelimit;
252
	infra->client_ip_rates = slabhash_create(cfg->ratelimit_slabs,
252
	infra->client_ip_rates = slabhash_create(cfg->ip_ratelimit_slabs,
253
	    INFRA_HOST_STARTSIZE, cfg->ip_ratelimit_size, &ip_rate_sizefunc,
253
	    INFRA_HOST_STARTSIZE, cfg->ip_ratelimit_size, &ip_rate_sizefunc,
254
	    &ip_rate_compfunc, &ip_rate_delkeyfunc, &ip_rate_deldatafunc, NULL);
254
	    &ip_rate_compfunc, &ip_rate_delkeyfunc, &ip_rate_deldatafunc, NULL);
255
	if(!infra->client_ip_rates) {
255
	if(!infra->client_ip_rates) {

Return to bug 1418