1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:57:45 +00:00

LibWeb: Remove debug spam about proxy configuration lookups

This commit is contained in:
Andreas Kling 2022-04-09 14:45:40 +02:00
parent b16918ccb9
commit f21eb90294
2 changed files with 0 additions and 4 deletions

View file

@ -16,9 +16,7 @@ Core::ProxyData Web::ProxyMappings::proxy_for_url(AK::URL const& url) const
{
auto url_string = url.to_string();
for (auto& it : m_mappings) {
dbgln("Checking {} against {}...", url, it.key);
if (url_string.matches(it.key)) {
dbgln("Matched!");
auto result = Core::ProxyData::parse_url(m_proxies[it.value]);
if (result.is_error()) {
dbgln("Failed to parse proxy URL: {}", m_proxies[it.value]);
@ -28,7 +26,6 @@ Core::ProxyData Web::ProxyMappings::proxy_for_url(AK::URL const& url) const
}
}
dbgln("No luck!");
return {};
}