294066 {
294067 auto db = FileOpener::TryGetDatabase(opener);
294068 if (db) {
294069 auto http_proxy_setting = Settings::Get<HTTPProxySetting>(*db);
294070 if (!http_proxy_setting.empty()) {
294072 string host;
294073 HTTPUtil::ParseHTTPProxyHost(http_proxy_setting, host, port);
294074 http_proxy = host;
294075 http_proxy_port = port;
294076 }
294077 http_proxy_username = Settings::Get<HTTPProxyUsernameSetting>(*db);
294078 http_proxy_password = Settings::Get<HTTPProxyPasswordSetting>(*db);
294079 }
294080
294081 auto client_context = FileOpener::TryGetClientContext(opener);
294082 if (client_context) {
294083 auto &client_config = ClientConfig::GetConfig(*client_context);
294084 if (client_config.enable_http_logging) {
294085 logger = client_context->logger;
294086 }
294087 }
294088}
uint64_t idx_t
a saner size_t for loop indices etc
Definition duckdb.hpp:237