diff options
author | Nico Weber <thakis@chromium.org> | 2022-01-21 20:08:41 -0500 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-01-22 01:28:01 +0000 |
commit | 46ffc98ebcf7258c1e36751f65b13205e8728a5d (patch) | |
tree | 8a42dedaf10fb198b280378537042376b507cc81 /Userland/Libraries | |
parent | 6d532649d4ed6c7ed969b9a865eef7ea5546f848 (diff) | |
download | serenity-46ffc98ebcf7258c1e36751f65b13205e8728a5d.zip |
LibHTTP: Move more happy-path logging behind HTTPSJOB_DEBUG
Diffstat (limited to 'Userland/Libraries')
-rw-r--r-- | Userland/Libraries/LibHTTP/HttpsJob.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibHTTP/HttpsJob.cpp b/Userland/Libraries/LibHTTP/HttpsJob.cpp index 3464527590..88a2137fc1 100644 --- a/Userland/Libraries/LibHTTP/HttpsJob.cpp +++ b/Userland/Libraries/LibHTTP/HttpsJob.cpp @@ -45,10 +45,10 @@ void HttpsJob::start(NonnullRefPtr<Core::Socket> socket) }; m_socket->set_idle(false); if (m_socket->is_established()) { - dbgln("Reusing previous connection for {}", url()); + dbgln_if(HTTPSJOB_DEBUG, "Reusing previous connection for {}", url()); deferred_invoke([this] { on_socket_connected(); }); } else { - dbgln("Creating a new connection for {}", url()); + dbgln_if(HTTPSJOB_DEBUG, "Creating a new connection for {}", url()); m_socket->set_root_certificates(m_override_ca_certificates ? *m_override_ca_certificates : DefaultRootCACertificates::the().certificates()); m_socket->on_tls_connected = [this] { dbgln_if(HTTPSJOB_DEBUG, "HttpsJob: on_connected callback"); |