* TcpBinaryFrameManager.cs : treat EOF as interrupted stream too (it
does not happen when communicating with .NET client but happens with
mono). Seealso FIXME comment.
* TcpDuplexSessionChannel.cs : do not try to close session when it
failed to read sized message. The connection is already dead.
Fixed bug #567949.
svn path=/trunk/mcs/; revision=149166
* TcpDuplexSessionChannel.cs :
Write EndRecord only when the connection is available.
Remove hack - do let ChannelDispatcher close the channel.
* TcpBinaryFrameManager.cs :
The socket may be disconnected when trying to read a sized message,
so check some socket exceptions.
In case the client silently shuts down without EndRecord and
reconnects to the server with preamble while expecting a sized
message (which is so lame, but that's what .NET often does), refresh
preamble and continue.
This fixes some cases of bug #567949 but not all.
svn path=/trunk/mcs/; revision=149163
* TcpBinaryFrameManager.cs : If preamble byte is not available from
the client stream, detect it to close the reply or input channel.
* TcpRequestChannel.cs : send preamble at each request time.
It differentiates communication behavior on such cases that involve
single open and multiple requests.
* TcpReplyChannel.cs : close the channel only when the channel is
oeprated to close i.e. do not close the socket every time.
Process preambles on each request (the same as request channel).
svn path=/trunk/mcs/; revision=148901
* TcpBinaryFrameManager.cs : unsized envelope record may have more
than one data block, so consume them accordingly. This should fix
large buffer consumption.
svn path=/trunk/mcs/; revision=148900
* TcpDuplexSessionChannel.cs, TcpBinaryFrameManager.cs:
split out binary frame manager class into separate file.
* System.ServiceModel.dll.sources:
split out binary frame manager class into separate file.
svn path=/trunk/mcs/; revision=138489