Skip to content

Commit 4d8bd36

Browse files
committed
Rename RecLinkGet* to RecEstablishStaticConfig*
1 parent 49adf59 commit 4d8bd36

File tree

15 files changed

+166
-163
lines changed

15 files changed

+166
-163
lines changed

include/records/RecCore.h

+6-6
Original file line numberDiff line numberDiff line change
@@ -183,19 +183,19 @@ RecErrT RecGetRecordFloatOrZero(const char *name, RecFloat *rec_float, bool lock
183183
RecErrT RecGetRecordStringOrNullptr_Xmalloc(const char *name, RecString *rec_string, bool lock = true);
184184

185185
// Convinience to link and get a config of RecInt type
186-
RecErrT RecLinkGetRecordInt(const char *name, RecInt *rec_int, bool lock = true);
186+
RecErrT RecEstablishStaticConfigInteger(const char *name, RecInt *rec_int, bool lock = true);
187187
// Convinience to link and get a config of int32_t type
188-
RecErrT RecLinkGetRecordInt32(const char *name, int32_t *rec_int, bool lock = true);
188+
RecErrT RecEstablishStaticConfigInt32(const char *name, int32_t *rec_int, bool lock = true);
189189
// Convinience to link and get a config of uint32_t type
190-
RecErrT RecLinkGetRecordUInt32(const char *name, uint32_t *rec_int, bool lock = true);
190+
RecErrT RecEstablishStaticConfigInt32U(const char *name, uint32_t *rec_int, bool lock = true);
191191
// Convenience to link and get a config of string type
192-
RecErrT RecLinkGetRecordString_Xmalloc(const char *name, RecString *rec_string, bool lock = true);
192+
RecErrT RecEstablishStaticConfigStringAlloc(const char *name, RecString *rec_string, bool lock = true);
193193
// Convenience to link and get a config of float type
194-
RecErrT RecLinkGetRecordFloat(const char *name, RecFloat *rec_float, bool lock = true);
194+
RecErrT RecEstablishStaticConfigFloat(const char *name, RecFloat *rec_float, bool lock = true);
195195
// Convenience to link and get a config of byte type
196196
// Allow to treat our "INT" configs as a byte type internally. Note
197197
// that the byte type is just a wrapper around RECD_INT.
198-
RecErrT RecLinkGetRecordByte(const char *name, RecByte *rec_byte, bool lock = true);
198+
RecErrT RecEstablishStaticConfigByte(const char *name, RecByte *rec_byte, bool lock = true);
199199

200200
//------------------------------------------------------------------------
201201
// Record Attributes Reading

src/iocore/cache/Cache.cc

+26-26
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ Cache::open(bool clear, bool /* fix ATS_UNUSED */)
259259
total_nvol = 0;
260260
total_good_nvol = 0;
261261

262-
RecLinkGetRecordInt32("proxy.config.cache.min_average_object_size", &cache_config_min_average_object_size);
262+
RecEstablishStaticConfigInt32("proxy.config.cache.min_average_object_size", &cache_config_min_average_object_size);
263263
Dbg(dbg_ctl_cache_init, "Cache::open - proxy.config.cache.min_average_object_size = %d", cache_config_min_average_object_size);
264264

265265
CacheVol *cp = cp_list.head;
@@ -801,60 +801,60 @@ ink_cache_init(ts::ModuleVersion v)
801801
{
802802
ink_release_assert(v.check(CACHE_MODULE_VERSION));
803803

804-
RecLinkGetRecordInt("proxy.config.cache.ram_cache.size", &cache_config_ram_cache_size);
804+
RecEstablishStaticConfigInteger("proxy.config.cache.ram_cache.size", &cache_config_ram_cache_size);
805805
Dbg(dbg_ctl_cache_init, "proxy.config.cache.ram_cache.size = %" PRId64 " = %" PRId64 "Mb", cache_config_ram_cache_size,
806806
cache_config_ram_cache_size / (1024 * 1024));
807807

808-
RecLinkGetRecordInt32("proxy.config.cache.ram_cache.algorithm", &cache_config_ram_cache_algorithm);
809-
RecLinkGetRecordInt32("proxy.config.cache.ram_cache.compress", &cache_config_ram_cache_compress);
810-
RecLinkGetRecordInt32("proxy.config.cache.ram_cache.compress_percent", &cache_config_ram_cache_compress_percent);
808+
RecEstablishStaticConfigInt32("proxy.config.cache.ram_cache.algorithm", &cache_config_ram_cache_algorithm);
809+
RecEstablishStaticConfigInt32("proxy.config.cache.ram_cache.compress", &cache_config_ram_cache_compress);
810+
RecEstablishStaticConfigInt32("proxy.config.cache.ram_cache.compress_percent", &cache_config_ram_cache_compress_percent);
811811
RecGetRecordIntOrZero("proxy.config.cache.ram_cache.use_seen_filter", &cache_config_ram_cache_use_seen_filter);
812812

813-
RecLinkGetRecordInt32("proxy.config.cache.limits.http.max_alts", &cache_config_http_max_alts);
813+
RecEstablishStaticConfigInt32("proxy.config.cache.limits.http.max_alts", &cache_config_http_max_alts);
814814
Dbg(dbg_ctl_cache_init, "proxy.config.cache.limits.http.max_alts = %d", cache_config_http_max_alts);
815815

816-
RecLinkGetRecordInt32("proxy.config.cache.log.alternate.eviction", &cache_config_log_alternate_eviction);
816+
RecEstablishStaticConfigInt32("proxy.config.cache.log.alternate.eviction", &cache_config_log_alternate_eviction);
817817
Dbg(dbg_ctl_cache_init, "proxy.config.cache.log.alternate.eviction = %d", cache_config_log_alternate_eviction);
818818

819-
RecLinkGetRecordInt("proxy.config.cache.ram_cache_cutoff", &cache_config_ram_cache_cutoff);
819+
RecEstablishStaticConfigInteger("proxy.config.cache.ram_cache_cutoff", &cache_config_ram_cache_cutoff);
820820
Dbg(dbg_ctl_cache_init, "cache_config_ram_cache_cutoff = %" PRId64 " = %" PRId64 "Mb", cache_config_ram_cache_cutoff,
821821
cache_config_ram_cache_cutoff / (1024 * 1024));
822822

823-
RecLinkGetRecordInt32("proxy.config.cache.permit.pinning", &cache_config_permit_pinning);
823+
RecEstablishStaticConfigInt32("proxy.config.cache.permit.pinning", &cache_config_permit_pinning);
824824
Dbg(dbg_ctl_cache_init, "proxy.config.cache.permit.pinning = %d", cache_config_permit_pinning);
825825

826-
RecLinkGetRecordInt32("proxy.config.cache.dir.sync_frequency", &cache_config_dir_sync_frequency);
826+
RecEstablishStaticConfigInt32("proxy.config.cache.dir.sync_frequency", &cache_config_dir_sync_frequency);
827827
Dbg(dbg_ctl_cache_init, "proxy.config.cache.dir.sync_frequency = %d", cache_config_dir_sync_frequency);
828828

829-
RecLinkGetRecordInt32("proxy.config.cache.dir.sync_delay", &cache_config_dir_sync_delay);
829+
RecEstablishStaticConfigInt32("proxy.config.cache.dir.sync_delay", &cache_config_dir_sync_delay);
830830
Dbg(dbg_ctl_cache_init, "proxy.config.cache.dir.sync_delay = %d", cache_config_dir_sync_delay);
831831

832-
RecLinkGetRecordInt32("proxy.config.cache.dir.sync_max_write", &cache_config_dir_sync_max_write);
832+
RecEstablishStaticConfigInt32("proxy.config.cache.dir.sync_max_write", &cache_config_dir_sync_max_write);
833833
Dbg(dbg_ctl_cache_init, "proxy.config.cache.dir.sync_max_write = %d", cache_config_dir_sync_max_write);
834834

835-
RecLinkGetRecordInt32("proxy.config.cache.select_alternate", &cache_config_select_alternate);
835+
RecEstablishStaticConfigInt32("proxy.config.cache.select_alternate", &cache_config_select_alternate);
836836
Dbg(dbg_ctl_cache_init, "proxy.config.cache.select_alternate = %d", cache_config_select_alternate);
837837

838-
RecLinkGetRecordInt32("proxy.config.cache.max_doc_size", &cache_config_max_doc_size);
838+
RecEstablishStaticConfigInt32("proxy.config.cache.max_doc_size", &cache_config_max_doc_size);
839839
Dbg(dbg_ctl_cache_init, "proxy.config.cache.max_doc_size = %d = %dMb", cache_config_max_doc_size,
840840
cache_config_max_doc_size / (1024 * 1024));
841841

842-
RecLinkGetRecordInt32("proxy.config.cache.mutex_retry_delay", &cache_config_mutex_retry_delay);
842+
RecEstablishStaticConfigInt32("proxy.config.cache.mutex_retry_delay", &cache_config_mutex_retry_delay);
843843
Dbg(dbg_ctl_cache_init, "proxy.config.cache.mutex_retry_delay = %dms", cache_config_mutex_retry_delay);
844844

845-
RecLinkGetRecordInt32("proxy.config.cache.read_while_writer.max_retries", &cache_config_read_while_writer_max_retries);
845+
RecEstablishStaticConfigInt32("proxy.config.cache.read_while_writer.max_retries", &cache_config_read_while_writer_max_retries);
846846
Dbg(dbg_ctl_cache_init, "proxy.config.cache.read_while_writer.max_retries = %d", cache_config_read_while_writer_max_retries);
847847

848-
RecLinkGetRecordInt32("proxy.config.cache.read_while_writer_retry.delay", &cache_read_while_writer_retry_delay);
848+
RecEstablishStaticConfigInt32("proxy.config.cache.read_while_writer_retry.delay", &cache_read_while_writer_retry_delay);
849849
Dbg(dbg_ctl_cache_init, "proxy.config.cache.read_while_writer_retry.delay = %dms", cache_read_while_writer_retry_delay);
850850

851-
RecLinkGetRecordInt32("proxy.config.cache.hit_evacuate_percent", &cache_config_hit_evacuate_percent);
851+
RecEstablishStaticConfigInt32("proxy.config.cache.hit_evacuate_percent", &cache_config_hit_evacuate_percent);
852852
Dbg(dbg_ctl_cache_init, "proxy.config.cache.hit_evacuate_percent = %d", cache_config_hit_evacuate_percent);
853853

854-
RecLinkGetRecordInt32("proxy.config.cache.hit_evacuate_size_limit", &cache_config_hit_evacuate_size_limit);
854+
RecEstablishStaticConfigInt32("proxy.config.cache.hit_evacuate_size_limit", &cache_config_hit_evacuate_size_limit);
855855
Dbg(dbg_ctl_cache_init, "proxy.config.cache.hit_evacuate_size_limit = %d", cache_config_hit_evacuate_size_limit);
856856

857-
RecLinkGetRecordInt32("proxy.config.cache.force_sector_size", &cache_config_force_sector_size);
857+
RecEstablishStaticConfigInt32("proxy.config.cache.force_sector_size", &cache_config_force_sector_size);
858858

859859
ink_assert(RecRegisterConfigUpdateCb("proxy.config.cache.target_fragment_size", FragmentSizeUpdateCb, nullptr) != REC_ERR_FAIL);
860860
RecGetRecordIntOrZero("proxy.config.cache.target_fragment_size", &cache_config_target_fragment_size);
@@ -866,19 +866,19 @@ ink_cache_init(ts::ModuleVersion v)
866866
cache_config_target_fragment_size = MAX_FRAG_SIZE + sizeof(Doc);
867867
}
868868

869-
RecLinkGetRecordInt32("proxy.config.cache.max_disk_errors", &cache_config_max_disk_errors);
869+
RecEstablishStaticConfigInt32("proxy.config.cache.max_disk_errors", &cache_config_max_disk_errors);
870870
Dbg(dbg_ctl_cache_init, "proxy.config.cache.max_disk_errors = %d", cache_config_max_disk_errors);
871871

872-
RecLinkGetRecordInt32("proxy.config.cache.agg_write_backlog", &cache_config_agg_write_backlog);
872+
RecEstablishStaticConfigInt32("proxy.config.cache.agg_write_backlog", &cache_config_agg_write_backlog);
873873
Dbg(dbg_ctl_cache_init, "proxy.config.cache.agg_write_backlog = %d", cache_config_agg_write_backlog);
874874

875-
RecLinkGetRecordInt32("proxy.config.cache.enable_checksum", &cache_config_enable_checksum);
875+
RecEstablishStaticConfigInt32("proxy.config.cache.enable_checksum", &cache_config_enable_checksum);
876876
Dbg(dbg_ctl_cache_init, "proxy.config.cache.enable_checksum = %d", cache_config_enable_checksum);
877877

878-
RecLinkGetRecordInt32("proxy.config.cache.alt_rewrite_max_size", &cache_config_alt_rewrite_max_size);
878+
RecEstablishStaticConfigInt32("proxy.config.cache.alt_rewrite_max_size", &cache_config_alt_rewrite_max_size);
879879
Dbg(dbg_ctl_cache_init, "proxy.config.cache.alt_rewrite_max_size = %d", cache_config_alt_rewrite_max_size);
880880

881-
RecLinkGetRecordInt32("proxy.config.cache.enable_read_while_writer", &cache_config_read_while_writer);
881+
RecEstablishStaticConfigInt32("proxy.config.cache.enable_read_while_writer", &cache_config_read_while_writer);
882882
cache_config_read_while_writer = validate_rww(cache_config_read_while_writer);
883883
RecRegisterConfigUpdateCb("proxy.config.cache.enable_read_while_writer", update_cache_config, nullptr);
884884
Dbg(dbg_ctl_cache_init, "proxy.config.cache.enable_read_while_writer = %d", cache_config_read_while_writer);
@@ -887,7 +887,7 @@ ink_cache_init(ts::ModuleVersion v)
887887

888888
RecGetRecordIntOrZero("proxy.config.http.wait_for_cache", &cacheProcessor.wait_for_cache);
889889

890-
RecLinkGetRecordInt32("proxy.config.cache.persist_bad_disks", &cache_config_persist_bad_disks);
890+
RecEstablishStaticConfigInt32("proxy.config.cache.persist_bad_disks", &cache_config_persist_bad_disks);
891891
Dbg(dbg_ctl_cache_init, "proxy.config.cache.persist_bad_disks = %d", cache_config_persist_bad_disks);
892892
if (cache_config_persist_bad_disks) {
893893
std::filesystem::path localstatedir{Layout::get()->localstatedir};

src/iocore/dns/DNS.cc

+11-11
Original file line numberDiff line numberDiff line change
@@ -226,22 +226,22 @@ DNSProcessor::start(int, size_t stacksize)
226226
//
227227
// Read configuration
228228
//
229-
RecLinkGetRecordInt32("proxy.config.dns.retries", &dns_retries);
230-
RecLinkGetRecordInt32("proxy.config.dns.lookup_timeout", &dns_timeout);
231-
RecLinkGetRecordInt32("proxy.config.dns.search_default_domains", &dns_search);
232-
RecLinkGetRecordInt32("proxy.config.dns.failover_number", &dns_failover_number);
233-
RecLinkGetRecordInt32("proxy.config.dns.failover_period", &dns_failover_period);
234-
RecLinkGetRecordInt32("proxy.config.dns.max_dns_in_flight", &dns_max_dns_in_flight);
235-
RecLinkGetRecordInt32("proxy.config.dns.validate_query_name", &dns_validate_qname);
236-
RecLinkGetRecordInt32("proxy.config.dns.round_robin_nameservers", &dns_ns_rr);
237-
RecLinkGetRecordInt32("proxy.config.dns.max_tcp_continuous_failures", &dns_max_tcp_continuous_failures);
229+
RecEstablishStaticConfigInt32("proxy.config.dns.retries", &dns_retries);
230+
RecEstablishStaticConfigInt32("proxy.config.dns.lookup_timeout", &dns_timeout);
231+
RecEstablishStaticConfigInt32("proxy.config.dns.search_default_domains", &dns_search);
232+
RecEstablishStaticConfigInt32("proxy.config.dns.failover_number", &dns_failover_number);
233+
RecEstablishStaticConfigInt32("proxy.config.dns.failover_period", &dns_failover_period);
234+
RecEstablishStaticConfigInt32("proxy.config.dns.max_dns_in_flight", &dns_max_dns_in_flight);
235+
RecEstablishStaticConfigInt32("proxy.config.dns.validate_query_name", &dns_validate_qname);
236+
RecEstablishStaticConfigInt32("proxy.config.dns.round_robin_nameservers", &dns_ns_rr);
237+
RecEstablishStaticConfigInt32("proxy.config.dns.max_tcp_continuous_failures", &dns_max_tcp_continuous_failures);
238238
RecGetRecordString_Xmalloc("proxy.config.dns.nameservers", &dns_ns_list);
239239
RecGetRecordString_Xmalloc("proxy.config.dns.local_ipv4", &dns_local_ipv4);
240240
RecGetRecordString_Xmalloc("proxy.config.dns.local_ipv6", &dns_local_ipv6);
241241
RecGetRecordString_Xmalloc("proxy.config.dns.resolv_conf", &dns_resolv_conf);
242-
RecLinkGetRecordInt32("proxy.config.dns.dedicated_thread", &dns_thread);
242+
RecEstablishStaticConfigInt32("proxy.config.dns.dedicated_thread", &dns_thread);
243243
int dns_conn_mode_i = 0;
244-
RecLinkGetRecordInt32("proxy.config.dns.connection_mode", &dns_conn_mode_i);
244+
RecEstablishStaticConfigInt32("proxy.config.dns.connection_mode", &dns_conn_mode_i);
245245
dns_conn_mode = static_cast<DNS_CONN_MODE>(dns_conn_mode_i);
246246

247247
if (dns_thread > 0) {

src/iocore/eventsystem/EventSystem.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ ink_event_system_init(ts::ModuleVersion v)
4040

4141
// For backwards compatibility make sure to allow thread_freelist_size
4242
// This needs to change in 6.0
43-
RecLinkGetRecordInt32("proxy.config.allocator.thread_freelist_size", &thread_freelist_high_watermark);
43+
RecEstablishStaticConfigInt32("proxy.config.allocator.thread_freelist_size", &thread_freelist_high_watermark);
4444

45-
RecLinkGetRecordInt32("proxy.config.allocator.thread_freelist_low_watermark", &thread_freelist_low_watermark);
45+
RecEstablishStaticConfigInt32("proxy.config.allocator.thread_freelist_low_watermark", &thread_freelist_low_watermark);
4646

4747
int chunk_sizes[DEFAULT_BUFFER_SIZES] = {0};
4848
char *chunk_sizes_string;

src/iocore/hostdb/HostDB.cc

+13-13
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ HostDBCache::start(int flags)
309309
// number of partitions
310310
RecGetRecordIntOrZero("proxy.config.hostdb.partitions", &hostdb_partitions);
311311

312-
RecLinkGetRecordInt32("proxy.config.hostdb.io.max_buffer_index", &hostdb_max_iobuf_index);
312+
RecEstablishStaticConfigInt32("proxy.config.hostdb.io.max_buffer_index", &hostdb_max_iobuf_index);
313313

314314
if (hostdb_max_size == 0) {
315315
Fatal("proxy.config.hostdb.max_size must be a non-zero number");
@@ -355,18 +355,18 @@ HostDBProcessor::init()
355355
//
356356
// Register configuration callback, and establish configuration links
357357
//
358-
RecLinkGetRecordInt32("proxy.config.hostdb.ttl_mode", &hostdb_ttl_mode);
359-
RecLinkGetRecordInt32("proxy.config.cache.hostdb.disable_reverse_lookup", &hostdb_disable_reverse_lookup);
360-
RecLinkGetRecordInt32("proxy.config.hostdb.re_dns_on_reload", &hostdb_re_dns_on_reload);
361-
RecLinkGetRecordInt32("proxy.config.hostdb.migrate_on_demand", &hostdb_migrate_on_demand);
362-
RecLinkGetRecordInt32("proxy.config.hostdb.strict_round_robin", &hostdb_strict_round_robin);
363-
RecLinkGetRecordInt32("proxy.config.hostdb.timed_round_robin", &hostdb_timed_round_robin);
364-
RecLinkGetRecordInt32("proxy.config.hostdb.lookup_timeout", &hostdb_lookup_timeout);
365-
RecLinkGetRecordUInt32("proxy.config.hostdb.timeout", &hostdb_ip_timeout_interval);
366-
RecLinkGetRecordUInt32("proxy.config.hostdb.verify_after", &hostdb_ip_stale_interval);
367-
RecLinkGetRecordUInt32("proxy.config.hostdb.fail.timeout", &hostdb_ip_fail_timeout_interval);
368-
RecLinkGetRecordUInt32("proxy.config.hostdb.serve_stale_for", &hostdb_serve_stale_but_revalidate);
369-
RecLinkGetRecordUInt32("proxy.config.hostdb.round_robin_max_count", &hostdb_round_robin_max_count);
358+
RecEstablishStaticConfigInt32("proxy.config.hostdb.ttl_mode", &hostdb_ttl_mode);
359+
RecEstablishStaticConfigInt32("proxy.config.cache.hostdb.disable_reverse_lookup", &hostdb_disable_reverse_lookup);
360+
RecEstablishStaticConfigInt32("proxy.config.hostdb.re_dns_on_reload", &hostdb_re_dns_on_reload);
361+
RecEstablishStaticConfigInt32("proxy.config.hostdb.migrate_on_demand", &hostdb_migrate_on_demand);
362+
RecEstablishStaticConfigInt32("proxy.config.hostdb.strict_round_robin", &hostdb_strict_round_robin);
363+
RecEstablishStaticConfigInt32("proxy.config.hostdb.timed_round_robin", &hostdb_timed_round_robin);
364+
RecEstablishStaticConfigInt32("proxy.config.hostdb.lookup_timeout", &hostdb_lookup_timeout);
365+
RecEstablishStaticConfigInt32U("proxy.config.hostdb.timeout", &hostdb_ip_timeout_interval);
366+
RecEstablishStaticConfigInt32U("proxy.config.hostdb.verify_after", &hostdb_ip_stale_interval);
367+
RecEstablishStaticConfigInt32U("proxy.config.hostdb.fail.timeout", &hostdb_ip_fail_timeout_interval);
368+
RecEstablishStaticConfigInt32U("proxy.config.hostdb.serve_stale_for", &hostdb_serve_stale_but_revalidate);
369+
RecEstablishStaticConfigInt32U("proxy.config.hostdb.round_robin_max_count", &hostdb_round_robin_max_count);
370370
const char *interval_config = "proxy.config.hostdb.host_file.interval";
371371
{
372372
RecInt tmp_interval{};

src/iocore/net/Net.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ configure_net()
4949
RecRegisterConfigUpdateCb("proxy.config.net.connections_throttle", change_net_connections_throttle, nullptr);
5050
RecGetRecordIntOrZero("proxy.config.net.connections_throttle", &fds_throttle);
5151

52-
RecLinkGetRecordInt32("proxy.config.net.retry_delay", &net_retry_delay);
53-
RecLinkGetRecordInt32("proxy.config.net.throttle_delay", &net_throttle_delay);
52+
RecEstablishStaticConfigInt32("proxy.config.net.retry_delay", &net_retry_delay);
53+
RecEstablishStaticConfigInt32("proxy.config.net.throttle_delay", &net_throttle_delay);
5454

5555
// These are not reloadable
5656
RecGetRecordIntOrZero("proxy.config.net.event_period", &net_event_period);

src/iocore/net/SSLConfig.cc

+4-4
Original file line numberDiff line numberDiff line change
@@ -469,14 +469,14 @@ SSLConfigParams::initialize()
469469
}
470470

471471
// SSL record size
472-
RecLinkGetRecordInt32("proxy.config.ssl.max_record_size", &ssl_maxrecord);
472+
RecEstablishStaticConfigInt32("proxy.config.ssl.max_record_size", &ssl_maxrecord);
473473

474474
// SSL OCSP Stapling configurations
475475
RecGetRecordIntOrZero("proxy.config.ssl.ocsp.enabled", &ssl_ocsp_enabled);
476-
RecLinkGetRecordInt32("proxy.config.ssl.ocsp.cache_timeout", &ssl_ocsp_cache_timeout);
476+
RecEstablishStaticConfigInt32("proxy.config.ssl.ocsp.cache_timeout", &ssl_ocsp_cache_timeout);
477477
RecGetRecordIntOrZero("proxy.config.ssl.ocsp.request_mode", &ssl_ocsp_request_mode);
478-
RecLinkGetRecordInt32("proxy.config.ssl.ocsp.request_timeout", &ssl_ocsp_request_timeout);
479-
RecLinkGetRecordInt32("proxy.config.ssl.ocsp.update_period", &ssl_ocsp_update_period);
478+
RecEstablishStaticConfigInt32("proxy.config.ssl.ocsp.request_timeout", &ssl_ocsp_request_timeout);
479+
RecEstablishStaticConfigInt32("proxy.config.ssl.ocsp.update_period", &ssl_ocsp_update_period);
480480
RecGetRecordString_Xmalloc("proxy.config.ssl.ocsp.response.path", &ssl_ocsp_response_path);
481481
set_paths_helper(ssl_ocsp_response_path, nullptr, &ssl_ocsp_response_path_only, nullptr);
482482
ats_free(ssl_ocsp_response_path);

0 commit comments

Comments
 (0)