* HttpReplyChannel.cs : reject multiple WaitForRequest calls.
Temporarily disable HTTP Keep-Alive since it somehow results in
wrong reuse of connection (shown as NRE in HttpConnection).
Make sure to close RequestContext which was created from it.
* HttpRequestContext.cs : simplify.
svn path=/trunk/mcs/; revision=135921
* HttpChannelListener.cs, TcpChannelListener.cs,
ChannelListenerBase_1.cs : put common internal listener base
and let it handle those async stuff.
svn path=/trunk/mcs/; revision=135916
* HttpReplyChannel.cs, ReplyChannelBase.cs : async operations are
now implemented as virtual in base class. Remove NIEs in http.
svn path=/trunk/mcs/; revision=135823
* HttpChannelManager.cs, HttpChannelListener.cs: renaming, as
"ChannelManager" is confusing (there is ChannelManagerBase).
svn path=/trunk/mcs/; revision=135671
* HttpChannelManager.cs, HttpTransportBindingElement.cs,
HttpReplyChannel.cs, AspNetReplyChannel.cs, HttpChannelListener.cs:
they should be split into separate listener->reply channel lines
(remove "if (HostingEnvironment.IsAspNet)".)
svn path=/trunk/mcs/; revision=135668
* CommunicationObject.cs : OnClosed() requires call to base method.
Close() could rather abort the channel, and Abort() does not
always invke OnAbort().
* ChannelBase.cs : add call to base as above.
* ChannelDispatcher.cs :
Add call to base (see CommunicationObject change).
* InstanceContext.cs :
Add call to base (see CommunicationObject change).
* CommunicationObjectTest.cs : added a couple of close/abort tests
for state transition and base call check.
svn path=/trunk/mcs/; revision=135649
2009-06-05 Sebastien Pouliot <[email protected]>
* ClientAccessPolicy.cs: Removed
* CrossDomainAccessManager.cs: Removed
* CrossDomainPolicy.cs: Removed
* HttpRequestChannel.cs: Remove call to CrossDomainAccessManager
since this is now done inside the BeginGetResponse call (outside
this assembly) for Moonlight (NET_2_1)
In .:
2009-06-05 Sebastien Pouliot <[email protected]>
* net_2_1_raw_System.ServiceModel.dll.sources: Remove
ClientAccessPolicy.cs, CrossDomainPolicy.cs and
CrossDomainAccessManager.cs since the code and checks is now done
inside System.Windows.Browser.dll, by BrowserHttpWebRequest, for
every non-site-or-origin web connection - i.e. http[s]
svn path=/trunk/mcs/; revision=135513
* HttpRequestChannel.cs : Rewrite ProcessRequest to use the async APIs
instead of the sync apis. Prevents a possible deadlock condition in
moonlight.
svn path=/trunk/mcs/; revision=135467
* TcpDuplexSessionChannel.cs : Moved tcp listener accept to OnOpen().
I cannot precisely identify when EndRecord should be consumed,
so allow it at either at the end of ReadSizedMessage() or on
consuming preamble (it's likely handling EndRecord of previous
message though).
Now duplex IPeerResolverContract communication works between
either of .NET/Mono client and .NET/Mono server.
svn path=/trunk/mcs/; revision=135046
* TcpDuplexSessionChannel.cs : looks like I have added some bogus
code. Handle preamble ack on ReadSizedMessage() only at server.
Consume EndRecord from server, at client side. Though it is likely
changed as it's blocking when mono is at server side.
svn path=/trunk/mcs/; revision=135044
* TcpDuplexSessionChannel.cs : .NET seems to be based on somewhat
different protocol than existing code with related to preamble ack.
So changed it to work fine with .NET client (finally).
svn path=/trunk/mcs/; revision=135043
* BinaryMessageEncoder.cs : the serializer somehow leaves binary
xml open, so close the writer as well as open elements.
* TcpDuplexSessionChannel.cs : clear write buffer on each operation.
Do not output EndRecord and SizedMessage at a time.
svn path=/trunk/mcs/; revision=134820
* TcpDuplexSessionChannel.cs : It seems that buffered stream channel
only accepts buffered messages, so do as such for write buffers.
Add RelatesTo header.
svn path=/trunk/mcs/; revision=134745
* PeerNode.cs : if Resolve() returns no address, create a new peer
address here, and shut it down when it is closed.
* PeerDuplexChannel.cs, PeerOutputChannel.cs : use new PeerNode.ctor.
svn path=/trunk/mcs/; revision=134686
* BinaryMessageEncoderFactory.cs, BinaryMessageEncoder.cs
This encoder factory implements CreateSessionEncoder() and binary
encoder does support session transmit, in different media type.
* ChannelManagerBase.cs : added utility method to create appropriate
encoder.
* HttpChannelFactory.cs, HttpChannelListener.cs,
MsmqChannelFactory.cs, MsmqChannelListener.cs,
PeerChannelFactory.cs, PeerChannelListener.cs,
TcpChannelFactory.cs, TcpChannelListener.cs : use above.
* MessageEncoderTest.cs : test CreateSessionEncoder().
svn path=/trunk/mcs/; revision=134584
* MessageFault.cs : Reason is mandatory. raise XmlException, and
CommunicationException in each CreateFault().
* soap-fault-incomplete.xml : new test file.
* MessageFaultTest.cs : new test.
* System.ServiceModel.dll_test.sources: added MessageFaultTest.cs.
svn path=/trunk/mcs/; revision=134197
* TcpDuplexSessionChannel.cs : on listener side, get TcpClient at
Open(). Some (but not all yet) continuous communication works now.
Use ProtocolException. Remove dummy binary session string.
svn path=/trunk/mcs/; revision=134185
* TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Moved
sending/receiving SizedMessageRecord parts to manager class.
Handle writer session, though it is likely broken at dictionary
writer part (no string is written so far).
* BinaryMessageEncoder.cs : add writer session and rename reader
session.
svn path=/trunk/mcs/; revision=134117
* TcpDuplexSessionChannel.cs : more [MC-NMF] implementation. Via uri
is mandatory in initiator preamble packet. Handle Fault reply in
initiator preamble.
svn path=/trunk/mcs/; revision=134111
* TcpDuplexSessionChannel.cs : ongoing refactoring to collect [MC-NMF]
based communication under TcpBinaryFrameManager class.
svn path=/trunk/mcs/; revision=134107
* TcpDuplexSessionChannel.cs : implement in-band dictionary support
in [MC-NMF] and [MC-NBFSE], used in duplex channels. Added some
comments for magic numbers based on [MC-NMF].
* BinaryMessageEncodingBindingElementTest.cs, binary-message.raw:
new test files.
* System.ServiceModel.dll_test.sources: added
BinaryMessageEncodingBindingElementTest.cs.
svn path=/trunk/mcs/; revision=132882
* BinaryMessageEncoder.cs : implement part of in-band dictionary
support for [MC-NBFSE] record in [MC-NMF], in this class.
svn path=/trunk/mcs/; revision=132881