Commit 80b5e3d7 authored by deepakverma's avatar deepakverma

fix #50

parent 02ae9601
...@@ -523,6 +523,8 @@ static void WriteUnified(Stream stream, long value) ...@@ -523,6 +523,8 @@ static void WriteUnified(Stream stream, long value)
void BeginReading() void BeginReading()
{ {
bool keepReading; bool keepReading;
try
{
do do
{ {
keepReading = false; keepReading = false;
...@@ -536,6 +538,11 @@ void BeginReading() ...@@ -536,6 +538,11 @@ void BeginReading()
} }
} while (keepReading); } while (keepReading);
} }
catch(System.IO.IOException ex)
{
multiplexer.Trace("Could not connect: " + ex.Message, physicalName);
}
}
int haveReader; int haveReader;
internal int GetAvailableInboundBytes(out int activeReaders) internal int GetAvailableInboundBytes(out int activeReaders)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment