Skip to content

Commit 718f7be

Browse files
committed
Remove debug logs.
1 parent b3e35ba commit 718f7be

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

libs/networking/src/curl_multi_manager.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
#include "launchdarkly/network/curl_multi_manager.hpp"
44

5-
#include <iostream>
65
#include <boost/asio/post.hpp>
76

87
namespace launchdarkly::network {
@@ -95,7 +94,6 @@ int CurlMultiManager::socket_callback(CURL* easy,
9594
void* userp,
9695
void* socketp) {
9796

98-
std::cout << "socket_callback: what: " << what << " socket: " << s << std::endl;
9997
auto* manager = static_cast<CurlMultiManager*>(userp);
10098

10199
std::lock_guard lock(manager->mutex_);
@@ -104,7 +102,6 @@ int CurlMultiManager::socket_callback(CURL* easy,
104102
manager->reset_read_timeout(easy);
105103

106104
if (what == CURL_POLL_REMOVE) {
107-
std::cout << "socket_callback: remove: " << s << std::endl;
108105
// Remove socket from managed container
109106
if (const auto it = manager->sockets_.find(s);
110107
it != manager->sockets_.end()) {
@@ -261,7 +258,6 @@ void CurlMultiManager::start_socket_monitor(SocketInfo* socket_info,
261258

262259
// Monitor for read events
263260
if (action & CURL_POLL_IN) {
264-
std::cout << "start_socket_monitor: poll in: " << socket_info->sockfd << std::endl;
265261
// Only create new handler if we don't have one or if action changed
266262
if (!socket_info->read_handler || action_changed) {
267263
// Use weak_ptr to safely detect when handle is deleted
@@ -312,7 +308,6 @@ void CurlMultiManager::start_socket_monitor(SocketInfo* socket_info,
312308

313309
// Monitor for write events
314310
if (action & CURL_POLL_OUT) {
315-
std::cout << "start_socket_monitor: poll out: " << socket_info->sockfd << std::endl;
316311
// Only create new handler if we don't have one or if action changed
317312
if (!socket_info->write_handler || action_changed) {
318313
// Use weak_ptr to safely detect when handle is deleted

0 commit comments

Comments
 (0)