2006-01-09 Robert Jordan <robertj@gmx.net>
authorRobert Jordan <robertj@gmx.net>
Tue, 9 Jan 2007 00:22:40 +0000 (00:22 -0000)
committerRobert Jordan <robertj@gmx.net>
Tue, 9 Jan 2007 00:22:40 +0000 (00:22 -0000)
commita8907b2e982edd6545d3df5f6d1213552c6d69c0
treede6b78e344ff1360793d55bc8d3df91a277060e2
parent51e2750e613af401464143c9eb647861da6a78cf
2006-01-09  Robert Jordan  <robertj@gmx.net>

* 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
mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/ChangeLog
mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpClientTransportSink.cs
mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpMessageIO.cs
mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.Channels.Tcp/TcpServerChannel.cs