Pārlūkot izejas kodu

Disable exception throwing if receive 0 bytes. #6

Michał Słomkowski 8 gadi atpakaļ
vecāks
revīzija
7e37c6eb7e
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      src/Transport.cpp

+ 2 - 1
src/Transport.cpp

@@ -314,7 +314,8 @@ void mumlib::Transport::doReceiveSsl() {
                 } else {
                     logger.error("SSL receiver error: %s. Bytes transferred: %d.",
                                  ec.message().c_str(), bytesTransferred);
-                    throwTransportException("receive failed: " + ec.message());
+                    //todo temporarily disable exception throwing until issue #6 is solved
+                    //throwTransportException("receive failed: " + ec.message());
                 }
             });
 }