-#if 0
- // All allocated filters are used! Increase the size of the allocated
- // filters.
-
- {
- int new_size = filter_list_size * 2;
- tbft *new = mremap(filter_list, filter_list_size * sizeof(*new), new_size * sizeof(*new), MREMAP_MAYMOVE);
-
- if (new == MAP_FAILED)
- {
- log(0,0,0,0, "Ran out of token bucket filters and mremap failed! Sess %d will be un-throttled\n", sid);
- return 0;
- }
-
- i = filter_list_size;
- filter_list_size = new_size;
- filter_list = new;
- }
-
- for (; i < filter_list_size; ++i)
- filter_list[i].sid = 0;
-
- goto again;
-#else