Replace socket_handler::fill_buffer() recursion with loop (#8389)
[libt2n] / src / socket_wrapper.cpp
index 89521bc..50ec75f 100644 (file)
@@ -87,10 +87,6 @@ bool ReconnectSocketWrapper::handle(command_client* stubBase, boost::function< v
 
             // otherwise ignore the exception and reconnect in the next iteration
         }
-        catch(...)
-        {
-            throw;
-        }
 
         tries++;
     }
@@ -141,10 +137,6 @@ bool ReconnectIgnoreFailureSocketWrapper::handle(command_client* stubBase, boost
         {
             // ignore
         }
-        catch(...)
-        {
-            throw;
-        }
     }
 
     return false;