mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:48:11 +00:00
LibHTTP: Move more happy-path logging behind HTTPSJOB_DEBUG
This commit is contained in:
parent
6d532649d4
commit
46ffc98ebc
1 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue