* TcpServerChannel.cs (ProcessMessages): Flush the stream only when
necessary (TcpServerTransportSink.InternalProcessMessage does it anyway),
otherwise pending OneWay & async messages are lost.
* TcpMessageIO.cs (SendMessageStream): Mark OneWay messages as such.
Fixes MS.NET interoperability.
* TcpClientTransportSink.cs (AsyncProcessRequest):
Use the new TcpMessageIO.SendMessageStream overload to mark OneWay
requests. Fixes bug #80406.
svn path=/trunk/mcs/; revision=70685
* TcpMessageIO.cs: Added a buffer parameter to ReceiveMessageStatus,
to avoid creating unneded buffers.
* TcpServerChannel.cs, TcpClientTransportSink.cs: Use new buffer
parameter in ReceiveMessageStatus.
svn path=/trunk/mcs/; revision=39323
* TcpConnectionPool.cs: Don't limit client connections.
This fixes bug #70700. Create connections from outside the pool lock.
* TcpMessageIO.cs: Throw real exceptions when errors occur.
* TcpServerChannel.cs: Use the new RemotingThreadPool to manage threads.
This also fixes bug #70700.
svn path=/trunk/mcs/; revision=38948
* TcpMessageIO.cs: Removed some more WriteByte calls.
* TcpClientTransportSink.cs: Flush the net stream after writing
a message.
svn path=/trunk/mcs/; revision=37875
* TcpChannel.cs: Don't use regular expressions to parse the url, it's
too slow.
* TcpMessageIO.cs: Read byte chunks using the new StreamRead method,
which won't block if the connection is closed.
* TcpServerChannel.cs: Flush the stream after writing the response.
Wrap the close call in a try/catch (some bytes can be left in the
buffered stream if a connection is suddently closed, and it will fail
when trying to flush them).
svn path=/trunk/mcs/; revision=37564
* TcpConnectionPool.cs: Access the socket stream through a
BufferedStream.
* TcpMessageIO.cs: Avoid ReadByte().
* TcpServerChannel.cs: Access the socket stream through a
BufferedStream. Abort the connection if an unknown message is received.
All this fixes performance bug #70337.
svn path=/trunk/mcs/; revision=37520
sent by Jose Lu�s Mart�n.
* TcpClientTransportSink.cs: Added Content-Type header. Improved support
for OneWay messages.
svn path=/trunk/mcs/; revision=13060
* System.Runtime.Remoting.Channels.Tcp/TcpClientTransportSink.cs:
* System.Runtime.Remoting.Channels.Tcp/TcpMessageIO.cs:
* System.Runtime.Remoting.Channels.Tcp/TcpServerChannel.cs:
Change MessageType to MessageStatus so the code is
more clear
svn path=/trunk/mcs/; revision=11254