Browse Source

Disable exception throwing if receive 0 bytes. #6

Michał Słomkowski 8 years ago
parent
commit
7e37c6eb7e
1 changed files with 2 additions and 1 deletions
  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());
                 }
             });
 }